Object - jwt : InboundJwtAuthProvider

Represents inbound JWT auth provider.

Constructor

__init

(JwtValidatorConfig jwtValidatorConfig)

Methods

Fields

authenticate

(string credential)

returns boolean | error

Authenticate with a JWT token.

Parameters

  • credential string
  • Jwt token extracted from the authentication header

  • Return Type

    (boolean | error)
  • true if authentication is successful, othewise false or error occurred during JWT validation