TokenManager

The TokenManager class handles the storage and retrieval of authorization state tokens.

Constructors

Link copied to clipboard
constructor()

Creates a TokenManager instance.

Functions

Link copied to clipboard

Clears the authorization state by removing the "authState" key from the storage.

Link copied to clipboard

Retrieves the authorization state from the storage.

Link copied to clipboard

Saves the authorization state to the storage.

Link copied to clipboard

Sets the storage implementation to be used for storing data in the TokenManager.