Builder

class Builder

Builder for JwtClaimsSet.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets Audience (aud) claim.

Link copied to clipboard

P Builds the JwtClaimsSet object.

Link copied to clipboard

Sets Expiration Time (exp) claim.

Link copied to clipboard

Sets Issuer (iss) claim.

Link copied to clipboard

Sets Issued At (iat) claim. Denominated in seconds.

Link copied to clipboard

Sets JWT ID (jti) claim.

Link copied to clipboard
fun misc(key: String, value: Any): JwtClaimsSet.Builder

Sets a custom claim.

Link copied to clipboard

Sets Not Before (nbf) claim.

Link copied to clipboard

Sets Subject (sub) claim.