Documentation
    Preparing search index...

    Function createJwtAuthenticationHandler

    • Creates a plugin to authenticate callers via json web token.

      Type Parameters

      • Payload extends TSchema

      Parameters

      Returns (request: FastifyRequest, reply: FastifyReply) => Promise<void>

      JwtAuthenticationhandler - a jwt authentication handler that may be added to the preValidation lifecycle hook on any request handler.