diff --git a/Sources/ParaSwift/Auth/PasskeysManager.swift b/Sources/ParaSwift/Auth/PasskeysManager.swift index 06e63ed..a8d282b 100644 --- a/Sources/ParaSwift/Auth/PasskeysManager.swift +++ b/Sources/ParaSwift/Auth/PasskeysManager.swift @@ -137,7 +137,7 @@ final class PasskeysManager: NSObject, ASAuthorizationControllerDelegate { /// - Returns: Array of authorization requests private func signInRequests(challenge: String, allowedPublicKeys: [String]) async -> [ASAuthorizationRequest] { // Only include passkey authentication request - // This ensures the system directly uses the passkey picker without offering password alternative + // This ensures the system directly uses the passkey picker without offering a password alternative await [passkeyAssertionRequest(challenge: challenge, allowedPublicKeys: allowedPublicKeys)] } diff --git a/Sources/ParaSwift/Core/ParaManager+Auth.swift b/Sources/ParaSwift/Core/ParaManager+Auth.swift index 3a97bf0..998d8dc 100644 --- a/Sources/ParaSwift/Core/ParaManager+Auth.swift +++ b/Sources/ParaSwift/Core/ParaManager+Auth.swift @@ -430,7 +430,7 @@ public extension ParaManager { /// - authorizationController: The controller to handle authorization UI. /// - email: Optional email address for authentication. /// - phone: Optional phone number for authentication. - /// - Note: Either email or phone can be provided, but not both. If both are nil, the user will be prompted to select a passkey. + /// - Note: Either an email or a phone number can be provided, but not both. If both are nil, the user will be prompted to select a passkey. @MainActor func loginWithPasskey( authorizationController: AuthorizationController,