Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Initializer

init(value:)

Single-element initializer. Uses the CollectionOfOneDecoder to work around the lack of an initializer on the Collection protocol. Not spectacularly efficient, but it works.
init(value: Self.Value.Element)

Default Implementations

JWTMultiValueClaim Implementations

  • init(value: Self.Value.Element)
    Single-element initializer. Uses the CollectionOfOneDecoder to work around the lack of an initializer on the Collection protocol. Not spectacularly efficient, but it works.