{"action":"created","issue":{"url":"https://api.github.com/repos/trevorsenior/snoocore/issues/101","labels_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/101/comments","events_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/101/events","html_url":"https://github.com/trevorsenior/snoocore/issues/101","id":59397953,"number":101,"title":"Is there a way to specify a specific access token to use per request?","user":{"login":"CavemanNinja","id":3774959,"avatar_url":"https://avatars.githubusercontent.com/u/3774959?v=3","gravatar_id":"","url":"https://api.github.com/users/CavemanNinja","html_url":"https://github.com/CavemanNinja","followers_url":"https://api.github.com/users/CavemanNinja/followers","following_url":"https://api.github.com/users/CavemanNinja/following{/other_user}","gists_url":"https://api.github.com/users/CavemanNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/CavemanNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CavemanNinja/subscriptions","organizations_url":"https://api.github.com/users/CavemanNinja/orgs","repos_url":"https://api.github.com/users/CavemanNinja/repos","events_url":"https://api.github.com/users/CavemanNinja/events{/privacy}","received_events_url":"https://api.github.com/users/CavemanNinja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trevorsenior/snoocore/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/trevorsenior/snoocore/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-01T14:34:29Z","updated_at":"2015-03-02T09:22:24Z","closed_at":null,"body":"Say I have a site that allows users to login and authenticate to reddit using passport.js, \r\n\r\nSo now I have a bunch of access and refresh tokens associated with a user in my database. \r\n\r\nCan I specify which access token I want snoocore to use based on each request?\r\n\r\nOr do I have to initialize a new Snoocore instance on every request and refresh using the refresh token before making api calls?"},"comment":{"url":"https://api.github.com/repos/trevorsenior/snoocore/issues/comments/76680170","html_url":"https://github.com/trevorsenior/snoocore/issues/101#issuecomment-76680170","issue_url":"https://api.github.com/repos/trevorsenior/snoocore/issues/101","id":76680170,"user":{"login":"CavemanNinja","id":3774959,"avatar_url":"https://avatars.githubusercontent.com/u/3774959?v=3","gravatar_id":"","url":"https://api.github.com/users/CavemanNinja","html_url":"https://github.com/CavemanNinja","followers_url":"https://api.github.com/users/CavemanNinja/followers","following_url":"https://api.github.com/users/CavemanNinja/following{/other_user}","gists_url":"https://api.github.com/users/CavemanNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/CavemanNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CavemanNinja/subscriptions","organizations_url":"https://api.github.com/users/CavemanNinja/orgs","repos_url":"https://api.github.com/users/CavemanNinja/repos","events_url":"https://api.github.com/users/CavemanNinja/events{/privacy}","received_events_url":"https://api.github.com/users/CavemanNinja/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T09:22:24Z","updated_at":"2015-03-02T09:22:24Z","body":"@trevorsenior thanks for your response. Handling multiple instances as you described will work just fine for me. \r\n\r\nIt sounds like it might even be better than swapping out the auth data on the same snoocore instance as it would maintain independent throttling for different accounts/ avoid resetting the timeouts every time a request is made with a different account. "}}