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))