Required Instance Propertyvapor.jwt-kit 5.2.0JWTKit
value
The claim’s value.
var value: Self.Value { get set }
The claim’s value.
var value: Self.Value { get set }
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
protocol JWTClaim : Decodable, Encodable, Sendable
A claim is a codable, top-level property of a JWT payload. Multiple claims form a payload. Some claims, such as expiration claims, are inherently verifiable. Each claim able to verify itself provides an appropriate method for doing so, depending on the specific claim.
associatedtype Value : Decodable, Encodable
The associated value type.
init(value: Self.Value)
Initializes the claim with its value.