Initializervapor.jwt-kit 5.1.2JWTKit
init(from:)
JWK.swift:101init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
struct KeyType
Supported kty
key types.
struct JWK
A JSON Web Key.
protocol Decoder
A type that can decode values from a native format into in-memory representations.
init?(rawValue: String)
static let ecdsa: JWK.KeyType
ECDSA
static let octetKeyPair: JWK.KeyType
Octet Key Pair
static let rsa: JWK.KeyType
RSA
var rawValue: String { get }
func encode(to encoder: any Encoder) throws
typealias RawValue = String