Optional
scopes: string[]The client ID.
Adds a user to the auth provider registry.
The ID of the user.
The initial token data.
Gets the access token data for the given user.
The ID of the user to get the access token of.
Optional
scopes: string[]The list of required scopes that will be compared against the existing token scopes.
UnregisteredUserError if user is not registered in the provider.
MissingScopeError if user is not registered in the provider.
Gets the scopes for a user that are currently available using the access token.
If scopes were not set on user registration then it returns an empty array.
UnregisteredUserError if user is not registered in the provider.
Checks whether a user was added to the provider.
The user to check.
Removes a user from the auth provider registry.
The ID of the suer to add.
Generated using TypeDoc
Static non-self-refreshing authentication provider, that always returns the same initially given credentials.