Start an OAuth authorization flow.
OAuthError with errorCode: 'invalid_scope' if a
requested scope is not in the accepted list.
Exchange an authorization code for access and refresh tokens.
Refresh an expired access token using a refresh token.
Revoke a player's OAuth connection to your app.
Return the list of OAuth scopes the server currently supports.
OAuth 2.0 flow for obtaining player consent.
Typical flow:
redirectUriwith acodequery parameter.