Credentials type
Client response type
Builds an instance with given configuration.
Server configuration to use. It may be a hardcoded configuration, or a configuration build from a discovery service.
Server adapter to use.
Client adapter to user.
Options
Define if tokens should be stored in persistent storage.
Check if underlying storage is synchronous.
Add one or more listeners.
Decode the access token from Tokens if defined.
The decoded access token payload.
Get current stored tokens.
current stored tokens.
Check if user is authenticated.
true if user is authenticated.
Load tokens from storage synchronously.
Loaded tokens
Load tokens from storage asynchronously.
Loaded tokens
Forget the user authentication.
Client response if it has occured.
Release any resource associated with IAuth
Remove one or more listeners.
Renew tokens.
Client response if it has occured.
Manually store tokens synchronously. It may be used to authenticated a user with a token instead of using login with credentials.
Tokens to save.
Manually store tokens asynchronously. It may be used to authenticated a user with a token instead of using login with credentials.
Tokens to save.
Generated using TypeDoc
Default entrypoint for auth-toolbox module.
Load tokens from TokenStorage, support authentication methods like login and logout, and automates the authentication of client provided with ClientAdapter.
Options can be defined with AuthOptions.