Contents

requestAuthorizationForPublicKeyCredentials(_:)

Requests a person’s permission to use their passkeys.

Declaration

func requestAuthorizationForPublicKeyCredentials(_ completionHandler: @escaping  @Sendable (ASAuthorizationWebBrowserPublicKeyCredentialManager.AuthorizationState) -> Void)
func requestAuthorizationForPublicKeyCredentials() async -> ASAuthorizationWebBrowserPublicKeyCredentialManager.AuthorizationState

Parameters

  • completionHandler:

    A block you provide that the operating system calls when the request is completed.

Mentioned in

See Also

Requesting access to passkeys