Skip to content

Commit a16af53

Browse files
committed
resolve comment
1 parent 220f07f commit a16af53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/TurnkeySwift/Public/TurnkeyUtils.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ public func decodeVerificationToken(_ verificationToken: String) throws -> Verif
1010
return try JWTDecoder.decode(verificationToken, as: VerificationToken.self)
1111
}
1212

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
1318
public enum ClientSignature {
1419
/// Creates a client signature payload for login
1520
///

0 commit comments

Comments
 (0)