reportUnknownPublicKeyCredential(forRelyingParty:credentialID:)
Receives a report from the system that a relying party indicated a passkey credential is invalid.
Declaration
func reportUnknownPublicKeyCredential(forRelyingParty relyingParty: String, credentialID: Data)Parameters
- relyingParty:
The relying party, typically a website, for which to update the credential.
- credentialID:
An identifier that uniquely identifies the passkey.
Discussion
The system calls this method when a relying party reports an invalid passkey by calling reportUnknownPublicKeyCredential(relyingPartyIdentifier:credentialID:). Your manager can hide or remove the credential after it receives this report.
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