Token service Implements the ITokenService interface

Implements

Constructors

Methods

  • Generates a new access token

    Parameters

    • refreshToken: string

      The refresh token

    Returns Promise<string>

    The new access token

    If the refresh token is invalid

    If the refresh token is expired