put

fun <T : Any> MapBuilder<*>.put(claim: WebTokenClaim<T>, value: T)

Put the claim in a CBOR map.

Receiver

map to add the claim to

Parameters

claim

claim

value

value for the claim


fun <T : Any> JsonObjectBuilder.put(claim: WebTokenClaim<T>, value: T)

Put the claim in a JSON object.

Receiver

object builder to add the claim to

Parameters

claim

claim

value

value for the claim