foundation-comms.credentialmanager
Home > @genesislcap/foundation-comms > CredentialManager
CredentialManager interface
Represents a system for managing user credentials and authentication tokens.
Signature:
export interface CredentialManager
Methods
|
Method |
Description |
|---|---|
|
Creates a set of basic authentication credentials using the specified input data. | |
|
Creates a set of refresh authentication credentials using the specified input data. | |
|
Creates a set of SSO authentication credentials using the specified input data. | |
|
Retrieves stored credentials. | |
|
Retrieves credential data from the browser's credential manager. | |
|
Retrieves credential data from a browser cookie. | |
|
Retrieves the current MFA token, if any. | |
|
Retrieves the current refresh token, if any. | |
|
Retrieves the current SSO token, if any. | |
|
Retrieves the current username, if any. | |
|
Normalise legacy credential data. | |
|
Prevents silent access by requiring the user to authenticate before making API requests. | |
|
Removes all user crendentials data. | |
|
Removes the user's cookie. | |
|
Removes the current MFA token, if any. | |
|
Removes the current refresh token, if any. | |
|
Removes the current SSO token, if any. | |
|
Removes the current username, if any. | |
|
Stores user credentials securely. | |
|
Stores the specified credential data in the browser's credential manager. | |
|
Stores the specified credential data in a browser cookie. | |
|
Validates the specified set of basic authentication credentials. | |
|
Validates the specified set of refresh authentication credentials. | |
|
Validates the specified set of SSO authentication credentials. | |
|
Validate user credential data returned from the container or a cookie. |