Required Instance Methodvapor.jwt-kit 5.2.0JWTKit
verify(using:)
Verifies that the payload’s claims are correct or throws an error.
func verify(using algorithm: some JWTAlgorithm) async throws
Verifies that the payload’s claims are correct or throws an error.
func verify(using algorithm: some JWTAlgorithm) async throws
s6JWTKit10JWTPayloadP6verify5usingyqd___tYaKAA12JWTAlgorithmRd__lF
What are these?4SZQ2
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
protocol JWTPayload : Decodable, Encodable, Sendable
A JWT payload is a Publically Readable set of claims. Each variable represents a claim.
protocol JWTAlgorithm : Sendable
A protocol defining the necessary functionality for a JWT (JSON Web Token) algorithm. All algorithms conform to JWTAlgorithm
to provide custom signing and verification logic for JWT tokens.