Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ParaSwift/Auth/PasskeysManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/ParaSwift/Core/ParaManager+Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down