Function tokenExpiryWithinThreshold


  • Parameters

    • OptionaloauthThreshold: number

      The threshold for token expiry

    • OptionaltokenExpiry: number

      The expiry time for the token

    Returns boolean

    • Whether the token expiry is within the threshold

    tokenExpiryWithinThreshold - Check if the token expiry is within the threshold