@MainActor final func performRequests(_ requests: [any IdentityDocumentWebPresentmentRequest], origin: URL) async throws -> any IdentityDocumentWebPresentmentResponse
Perform an identity document request.
On iOS, this document will be sourced from a document provider installed on the current device. On other platforms, this will trigger a remote presentment flow where the user is prompted to use a nearby device for the presentment.
- Parameters:
- requests: A list of incoming document requests.
- origin: The origin of the requesting website.
- Returns: A response that contains the requested document information.
get · iOS 26.0+
presentationContextProvider
TypeScript
get presentationContextProvider(): Promise<(SDKHandle) | null>
Swift declaration
@MainActor weak final var presentationContextProvider: (any IdentityDocumentPresentmentControllerPresentationContextProviding)?
A delegate that provides a display context in which the system can present an authorization interface to the user.