addRegistration(_:)
Register a document with the system.
Declaration
func addRegistration(_ registration: some IdentityDocumentRegistration) async throwsParameters
- registration:
A registration that contains information about the document necessary to surface it appropriately during a presentment.
Discussion
If the provided registration contains a documentIdentifier that is already registered, the system replaces the existing registration with the provided registration.