Class BearerAuthFromSessionStorage

Used for header based Authentication.

Hierarchy (view full)

Constructors

Properties

sessionStorageKey: "bearerAuthToken" = 'bearerAuthToken'

Key for the session storage used to retrieve the bearer token from.

sessionStorageKeyToKeepToken: "bearerAuthTokenKeep" = ...

If the session storage key 'bearerAuthTokenKeep' is set to true, the token will be kept in session storage after it was found. Allows you to still refresh the page.

Methods