Initializervapor.jwt-kit 5.1.2JWTKit
init(booleanLiteral:)
BoolClaim.swift:17init(booleanLiteral value: Bool)
init(booleanLiteral value: Bool)
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
struct BoolClaim
A claim which represents a bool
@frozen struct Bool
A value type whose instances are either true
or false
.
init(from decoder: Decoder) throws
init(stringLiteral value: String)
init(value: Bool)
See JWTClaim
.
var value: Bool
See JWTClaim
.
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.