@videosdk.live/server-sdk
    Preparing search index...

    Function verifyToken

    • Verify an HS256 JWT against secret and return its claims. Throws if the token is malformed, the signature doesn't match, or it has expired.

      Parameters

      • token: string
      • secret: string

      Returns DecodedTokenPayload