Returns the authorization URL to which the user must be redirected to in order to authorize access by the application
User to authenticate
Optional
scopes: string[]Scopes that your app needs access to
Refreshes the user's access token
The user whose token will be refreshed
Persistence object dependency
Revokes user's access token in the service provider
The user whose token will be revoked
Persistence object dependency
This method will set all necessary configuration for the client
Please note that you will need to provide the i18n strings for the
settings created. For instance, if you're connecting to Github APIs
and your alias = 'github'
, you will need to provide the following
translations:
{
"github-oauth-client-id": "Client ID to connect to Github",
"github-oauth-clientsecret": "Client secret to connect to Github"
}
Configuration extend to set all settings and API endpoints
Generated using TypeDoc
Gets the token information for a specific user, if available.