completeRegistrationRequest(using:completionHandler:)
Complete the registration request by providing the newly-created passkey credential.
Declaration
func completeRegistrationRequest(using credential: ASPasskeyRegistrationCredential, completionHandler: (@Sendable (Bool) -> Void)? = nil)func completeRegistrationRequest(using credential: ASPasskeyRegistrationCredential) async -> BoolParameters
- credential:
The credential your extension created in response to the registration request.
- 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.