<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 16.4.0 -",
    "macOS: 13.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager/requestAuthorizationForPublicKeyCredentials(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationWebBrowserPublicKeyCredentialManager(im)requestAuthorizationForPublicKeyCredentials:"
  },
  "title" : "requestAuthorizationForPublicKeyCredentials(_:)"
}
-->

# requestAuthorizationForPublicKeyCredentials(_:)

Requests a person’s permission to use their passkeys.

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

## Parameters

`completionHandler`

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

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)