Situm SDK JS
    Preparing search index...

    Class AuthSession

    Index

    Constructors

    Properties

    invalid: any
    payload: SitumJWTPayload

    Accessors

    • get jwt(): string

      Returns the JWT string for the current session.

      Returns string

      The JWT value.

    • get refreshToken(): string

      Returns the refresh token for the current session.

      Returns string

      The refresh token.

    • get renewalDelayMs(): number

      Milliseconds left until the session enters its renewal margin.

      Returns number

    Methods

    • True once the session is expired or inside its renewal margin.

      Returns boolean