<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -",
    "macOS: 26.2.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASCredentialDataManager/reportAllAcceptedPublicKeyCredentials(relyingPartyIdentifier:userHandle:acceptedCredentialIDs:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services",
      "AuthenticationServices"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices23ASCredentialDataManagerC37reportAllAcceptedPublicKeyCredentials22relyingPartyIdentifier10userHandle21acceptedCredentialIDsySS_10Foundation0D0VSayAJGtYaKF"
  },
  "title" : "reportAllAcceptedPublicKeyCredentials(relyingPartyIdentifier:userHandle:acceptedCredentialIDs:)"
}
-->

# reportAllAcceptedPublicKeyCredentials(relyingPartyIdentifier:userHandle:acceptedCredentialIDs:)

Report a snapshot of all the credentialIDs that will be accepted for a `userHandle`. Credentials not present in the `acceptedCredentialIDs` may be removed or hidden by a password manager.
Relying party may choose to perform this periodically, e.g. on every sign in.
This information is shared with all password managers enabled in the system.

```
final func reportAllAcceptedPublicKeyCredentials(relyingPartyIdentifier: String, userHandle: Data, acceptedCredentialIDs: [Data]) async throws
```

## Parameters

`relyingPartyIdentifier`

Relying party (website) that the credential is saved for.

`userHandle`

User identifier.

`acceptedCredentialIDs`

An array of identifiers that uniquely identifies the accepted credentials.

## Discussion> Throws: `ASAuthorizationError` if the system failed to accept the update.

---

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)