From c560d56525c2665e40c214168fcd91f325bacc73 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Tue, 29 Oct 2024 21:20:17 -0500 Subject: [PATCH] some extra comments --- Sources/AppleAPI/Client.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/AppleAPI/Client.swift b/Sources/AppleAPI/Client.swift index 78f4d96..10b85eb 100644 --- a/Sources/AppleAPI/Client.swift +++ b/Sources/AppleAPI/Client.swift @@ -61,6 +61,9 @@ public class Client { } } + /// SRPLogin - Secure Remote Password + /// https://tools.ietf.org/html/rfc2945 + /// Forked from https://github.com/adam-fowler/swift-srp that provides the algorithm public func srpLogin(accountName: String, password: String) -> Promise { var serviceKey: String! let client = SRPClient(configuration: SRPConfiguration(.N2048))