Contents

addRegistration(_:)

Register a document with the system.

Declaration

func addRegistration(_ registration: some IdentityDocumentRegistration) async throws

Parameters

  • 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.

See Also

Registering and removing mobile documents