We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 220f07f commit a16af53Copy full SHA for a16af53
Sources/TurnkeySwift/Public/TurnkeyUtils.swift
@@ -10,6 +10,11 @@ public func decodeVerificationToken(_ verificationToken: String) throws -> Verif
10
return try JWTDecoder.decode(verificationToken, as: VerificationToken.self)
11
}
12
13
+/// Used for building client signature payloads used in OTP authentication flows.
14
+///
15
+/// Client signatures provide two security guarantees:
16
+/// 1. Only the owner of the public key in the verification token's claim can use the token
17
+/// 2. The intent hasn't been tampered with and was directly approved by the key owner
18
public enum ClientSignature {
19
/// Creates a client signature payload for login
20
///
0 commit comments