---
title: "reportAllAcceptedPublicKeyCredentials(forRelyingParty:userHandle:acceptedCredentialIDs:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/ascredentialproviderviewcontroller/reportallacceptedpublickeycredentials(forrelyingparty:userhandle:acceptedcredentialids:)"
---

# reportAllAcceptedPublicKeyCredentials(forRelyingParty:userHandle:acceptedCredentialIDs:)

Receives a report from the system that a relying party sent a snapshot of all accepted credentials for an account.

## Declaration

```swift
func reportAllAcceptedPublicKeyCredentials(forRelyingParty relyingParty: String, userHandle: Data, acceptedCredentialIDs: [Data])
```

## Parameters

- `relyingParty`: The relying party, typically a website, for which to save the credentials.
- `userHandle`: The user identifier.
- `acceptedCredentialIDs`: An array of identifiers that uniquely identifies the accepted credentials.

## Discussion

Discussion The system calls this method when a relying party sends a list of accepted credentials by calling reportAllAcceptedPublicKeyCredentials(relyingPartyIdentifier:userHandle:acceptedCredentialIDs:). Your manager can hide or remove any credential that’s absent from the acceptedCredentialIDs array. important: Perform any updates in the background and don’t show a blocking UI or any error. To indicate support for this feature, add the key SupportsCredentialUpdate with a value of YES under the ASCredentialProviderExtensionCapabilities dictionary in your app’s information property list: Info.plist ├─ NSExtension     ├─ NSExtensionAttributes         ├─ ASCredentialProviderExtensionCapabilities             ├─ SupportsCredentialUpdate => YES

## See Also

### Receiving credential updates

- [reportPublicKeyCredentialUpdate(forRelyingParty:userHandle:newName:)](authenticationservices/ascredentialproviderviewcontroller/reportpublickeycredentialupdate(forrelyingparty:userhandle:newname:).md)
- [reportUnknownPublicKeyCredential(forRelyingParty:credentialID:)](authenticationservices/ascredentialproviderviewcontroller/reportunknownpublickeycredential(forrelyingparty:credentialid:).md)
- [reportUnusedPasswordCredential(forDomain:userName:)](authenticationservices/ascredentialproviderviewcontroller/reportunusedpasswordcredential(fordomain:username:).md)
