You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
joeldev edited this page Mar 15, 2013
·
2 revisions
ADNKit makes this very easy. ANKClient represents an authenticated session for a single user, so instead of using ANKClient sharedClient for everything, simply alloc/init an ANKClient for each user and use the correct instance for requests.
Of course, this also means that you need to persist multiple accessTokens across app launches and to set up a new ANKClient for each saved accessToken when the app is launched.