Builder

class Builder(keySource: JwtKeySource)

Builder for JwtVerification. Obtain via JwtVerification.builder.

Constructors

Link copied to clipboard
constructor(keySource: JwtKeySource)

Functions

Link copied to clipboard
fun audience(vararg audiences: String): JwtVerification.Builder

Requires the token's aud claim to contain at least one of the given audiences.

Link copied to clipboard

Builds a JwtVerification with the configured settings.

Link copied to clipboard

Sets the maximum acceptable clock skew in seconds for exp and nbf validation.

Link copied to clipboard

Requires the token's iss claim to match issuer.