<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityDocumentServices",
  "identifier" : "/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "IdentityDocumentServices"
    ],
    "preciseIdentifier" : "s:24IdentityDocumentServices0aB25ProviderRegistrationStoreC"
  },
  "title" : "IdentityDocumentProviderRegistrationStore"
}
-->

# IdentityDocumentProviderRegistrationStore

A store that notifies the system which documents an app has available for presentment.

```
actor IdentityDocumentProviderRegistrationStore
```

## Discussion

The system uses the information you register with this store to appropriately surface your app as an option during a presentment. When a person registers a document, the authorization UI you provide through the app’s `IdentityDocumentProvider` extension needs to handle incoming requests for that specific document. The app needs to only register documents that are active and that it can successfully present. If a document becomes inactive, you need to unregister it from the store.

> Note:
> This API requires the <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.identity-document-services.document-provider.mobile-document-types> entitlement for online web presentment.

## Topics

### Registering and removing mobile documents

[`init()`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/init())

Initializes an identity document provider registration store.

[`func addRegistration(some IdentityDocumentRegistration) async throws`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/addRegistration(_:))

Register a document with the system.

[`var registrations: [any IdentityDocumentRegistration]`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/registrations)

A list of all documents registered with the system.

[`func removeRegistration(forDocumentIdentifier: String) async throws`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/removeRegistration(forDocumentIdentifier:))

Unregister a specific document with the system.

### Defining and getting the status of the mobile document

[`var status: IdentityDocumentProviderRegistrationStore.Status`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/status-swift.property)

The status of the registration store.

[`enum Status`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/Status-swift.enum)

Defines a status for the registration store.

### Retrieving the executor for the actor

### Errors

[`enum RegistrationError`](/documentation/IdentityDocumentServices/IdentityDocumentProviderRegistrationStore/RegistrationError)

An error type that the identity document registration store and associated types throw.

## Relationships

### Conforms To

[`Actor`](/documentation/Swift/Actor)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)