Contents

completeAssertionRequest(using:completionHandler:)

Complete the passkey assertion request by providing the user-selected passkey credential.

Declaration

func completeAssertionRequest(using credential: ASPasskeyAssertionCredential, completionHandler: (@Sendable (Bool) -> Void)? = nil)
func completeAssertionRequest(using credential: ASPasskeyAssertionCredential) async -> Bool

Parameters

  • credential:

    The credential that the user selected.

  • completionHandler:

    An optional block your extension can provide to perform any cleanup work after the system has used the credential. The expired parameter is True if the system decides to prematurely end a previous non-expiration invocation of the completion handler.

Discussion

The synchronous version of this method calls its completion handler with background priority.

See Also

Providing credentials