We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect SkygearIO/features#5
New method container.getOAuthTokens()
container.getOAuthTokens()
Return a dictionary of OAuth tokens of the current user
Call skygear-server user:oauth_tokens user:set_oauth_token
skygear-server
user:oauth_tokens
user:set_oauth_token
Pseudo code
container.getOAuthTokens()['com.facebook']['access_token']
New method container.refreshToken(provider_id)
container.refreshToken(provider_id)
The text was updated successfully, but these errors were encountered:
I think the API should be container.getOAuthTokens(provider_id). It will more symmetry with container.refreshToken.
container.getOAuthTokens(provider_id)
container.refreshToken
Sorry, something went wrong.
b123400
No branches or pull requests
connect SkygearIO/features#5
New method
container.getOAuthTokens()
Return a dictionary of OAuth tokens of the current user
Call
skygear-server
user:oauth_tokens
user:set_oauth_token
Pseudo code
New method
container.refreshToken(provider_id)
The text was updated successfully, but these errors were encountered: