- sign
Creates a new JWT and signs is with the given algorithm
- withClaim
Add a custom Claim value.
- withExpiresAt
Add a specific Expires At ("exp") claim to the Payload.
- withIssuer
Add a specific Issuer ("iss") claim to the Payload.
- withIssuedAt
Add a specific Issued At ("iat") claim to the Payload.
- withSubject
Add a specific Subject ("sub") claim to the Payload.
- withHeader
Add specific Claims to set as the Header.
- withAudience
Add a specific Audience ("aud") claim to the Payload.
- withKeyId
Add a specific Key Id ("kid") claim to the Header. If the Algorithm used to sign
this token was inst
- withArrayClaim
Add a custom Array Claim with the given items.
- withJWTId
Add a specific JWT Id ("jti") claim to the Payload.
- withNotBefore
Add a specific Not Before ("nbf") claim to the Payload.