Module : jwt
Module Overview
This module provides an inbound and outbound JWT authentication provider, which can be used to authenticate using a JWT and the functionality related to issuing and validating JWT.
For information on the operations, which you can perform with this module, see the below Functions. For examples on the usage of the operations, see the following.
- JWT Issue/Validate Example
- Secured Client with JWT Auth Example
- Secured Service with JWT Auth Example
JwksConfig |
Represents the JWKs endpoint configurations. |
JwtHeader |
Represents JWT header. |
JwtIssuerConfig |
Represents JWT validator configurations. |
JwtKeyStoreConfig |
Represents JWT key store configurations. |
JwtPayload |
Represents JWT payload. |
JwtTrustStoreConfig |
Represents JWT trust store configurations. |
JwtValidatorConfig |
Represents JWT validator configurations. |
InboundJwtAuthProvider |
Represents the inbound JWT auth provider, which authenticates by validating a JWT. |
OutboundJwtAuthProvider |
Represents the outbound JWT auth provider, which is used to authenticate with an external endpoint by generating a JWT. |
buildHeaderString |
Builds the header string from the |
buildPayloadString |
Builds the payload string from the |
decodeJwt |
Decodes the given JWT string. |
issueJwt |
Issues a JWT based on the provided header and payload. |
validateJwt |
Validates the given JWT string. |
RS256 |
The |
RS384 |
The |
RS512 |
The |
NONE |
Unsecured JWTs (no signing) |
Error |
Represents the JWT error type with details. |
JwtSigningAlgorithm |
The key algorithms supported by crypto module. |
JWTError |
Represents the JWT distinct error |