Implements

Constructors

Methods

  • Close current session.

    Returns Promise<boolean>

    true if session was present and was closed; false otherwise.

  • Close session with specified identifier. Returns flag whether session was present and was closed. Method is available for administrators only.

    Parameters

    • sessionId: string

      Identifier of session to close.

    Returns Promise<boolean>

    true if session was present and was closed; false otherwise.

  • Create session token and access token.

    Parameters

    • getAccessToken: () => null | string

      Return access token function.

    Returns Promise<{ accessToken: string; sessionToken: ISessionToken }>

    Session token and access token.

  • Returns the current token in json form.

    Parameters

    • OptionalaccessToken: null | string

      Current access token.

    Returns Promise<ISessionToken>

    Session token info.

MMNEPVFCICPMFPCPTTAAATR