StatusListTokenPayloadSurrogate
@Serializable
Helper class necessary to correctly map Cbor-labels for statusList and identifierList without having to write the entire serializer manually
For correct cbor-serialization requires Cbor to use CborConfiguration.preferCborLabelsOverNames This is standard for Cbor.CoseCompliant serializers such as coseCompliantSerializer
Constructors
Link copied to clipboard
constructor(subject: UniformResourceIdentifier, issuedAt: Instant, expirationTime: Instant? = null, timeToLive: PositiveDuration? = null, statusList: StatusList? = null, identifierList: IdentifierList? = null)
Properties
Link copied to clipboard
@SerialName(value = "exp")
@Serializable(with = InstantLongSerializer::class)
Link copied to clipboard
specification: ISO18013-5 Conforming to the rules defined in 12.3.6 REQUIRED*. MUST NOT be present if statusList is present
Link copied to clipboard
specification: https://www.ietf.org/archive/id/draft-ietf-oauth-status-list-05.html
Link copied to clipboard
Link copied to clipboard
JSON: JsonNumber CBOR: Unsigned integer (Major Type 0)