Initializervapor.jwt-kit 5.1.2JWTKit
init(booleanLiteral:)
JWTHeaderField.swift:147init(booleanLiteral value: BooleanLiteralType)
init(booleanLiteral value: BooleanLiteralType)
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
indirect enum JWTHeaderField
typealias BooleanLiteralType = Bool
The default type for an otherwise-unconstrained Boolean literal.
init(arrayLiteral elements: JWTHeaderField...)
init(dictionaryLiteral elements: (String, JWTHeaderField)...)
init(floatLiteral value: FloatLiteralType)
init(from decoder: any Decoder) throws
init(integerLiteral value: IntegerLiteralType)
init(nilLiteral _: ())
init(stringLiteral value: StringLiteralType)
var asArray: [Self]? { get }
var asBool: Bool? { get }
var asDecimal: Double? { get }
var asInt: Int? { get }
var asObject: [String : Self]? { get }
var asString: String? { get }
var isNull: Bool { get }
func asArray<T>(of _: T.Type) throws -> [T]
func asObject<T>(of _: T.Type) throws -> [String : T]
func encode(to encoder: any Encoder) throws