Contents

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.

Declaration

@MainActor 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