OpenIdTestIdTokenBuilder

Builder for ID tokens issued by OpenIdTestKeys.

ID tokens require a subject when created through OpenIdTestKeys.idToken.

Report a problem

Properties

Link copied to clipboard

at_hash claim.

Link copied to clipboard
Link copied to clipboard

Email claim.

Link copied to clipboard

Expiration timestamp. Defaults to one hour after builder creation time.

Link copied to clipboard

Issued-at timestamp. Defaults to builder creation time.

Link copied to clipboard
Link copied to clipboard

JWT ID.

Link copied to clipboard
Link copied to clipboard
var name: String?

Display name claim.

Link copied to clipboard

Nonce claim used by OIDC authorization-code replay protection.

Link copied to clipboard

Not-before timestamp.

Link copied to clipboard

Functions

Link copied to clipboard
fun claim(name: String, value: Any?)

Adds a custom JSON-like claim.