Instance Property
defaultJSONDecoder
The default JSON decoder. Used for:
let defaultJSONDecoder: any JWTJSONDecoder
Discussion
Parsing the JSON form of a JWKS (see
use(jwksJSON:).Decoding unverified payloads without a signer (see
JWTSigners/unverified(_:as:)-3qzpk).Decoding token headers to determine a key type (see
JWTSigners/verify(_:as:)-6tee7).The default for any
JWTSignerwhich does not specify its own encoder.