JwtAudienceSerializer

object JwtAudienceSerializer : JsonTransformingSerializer<Set<String>> (source)

Serializes the claim aud (RFC 7519 4.1.3), which is an array of strings, or a single string for one audience. Decodes both forms, encodes a single audience as string.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): Set<String>
Link copied to clipboard
override fun serialize(encoder: Encoder, value: Set<String>)