performRequests(_:origin:)
Performs an identity document request.
Declaration
@MainActor final func performRequests(_ requests: [any IdentityDocumentWebPresentmentRequest], origin: URL) async throws -> any IdentityDocumentWebPresentmentResponseParameters
- requests:
A list of incoming document requests.
- origin:
The origin of the requesting website.
Return Value
A response that contains the requested document information.
Discussion
In iOS, the systems sources this document from a document provider installed on the current device. On other platforms, this function triggers a remote presentment flow where the app prompts the person to use a nearby device for the presentment.