Contents

removeAllCredentialIdentities(_:)

Removes all existing credential identities from the store.

Declaration

func removeAllCredentialIdentities(_ completion: (@Sendable (Bool, (any Error)?) -> Void)? = nil)
func removeAllCredentialIdentities() async throws

Parameters

  • completion:

    An optional completion handler called after removing all existing credential identities. If the operation fails, an error with domain Ascredentialidentitystoreerrordomain is provided and none of the existing credential identities are removed from the store.

See Also

Adding and removing credential identities