Function getTokenExpiryDate

  • Calculates the expiration date of the access token as a Date object.

    Parameters

    • token: AccessToken

      The access token whose expiration date should be calculated.

    Returns Date

    A Date object representing the token expiration date.