Class AuthContext

Hierarchy

  • AuthContext

Constructors

Methods

  • Returns the current user account from session

    Returns

    account object

    Returns undefined | AccountInfo

  • Returns the cached token for a given resource

    Returns

    cached access token

    Parameters

    • resourceName: string

    Returns null | string

  • Initiates a login flow with given options

    Returns

    Parameters

    Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

  • Initiates a logout flow and destroys the current session

    Returns

    Parameters

    Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

Generated using TypeDoc