Crypto Middleware
    Preparing search index...

    Function verifyBearerJwt

    • Verify the Bearer token in an Authorization header with the JWT settings of a middleware configuration. Shared by the Express and Fastify adapters.

      Parameters

      Returns JwtPayload

      500 when jwtSecret is not configured, 401 when the token is missing or invalid.