@brightinteractive/bright-js-framework

@brightinteractive/bright-js-framework/plugins/auth

function authTokenPlugin(): PluginConstructor

Creates the AuthToken Plugin which is used for storing the Token by an AuthService so it can be accessed later by things needing to make requests on behalf of the user.

function authTokenValue(): SelectFn

Returns the current AuthTokenState object for the application

function isLoggedIn(): SelectFn

Returns whether the user is logged in

@authTokenActions()

Injects the actions that are available to act on the AuthTokenStore