IdentityDocumentServices lets your app present and respond to ISO 18013-5 mobile identity document requests, registering documents the app can present for verification. You model incoming requests and outgoing responses with ISO18013MobileDocumentRequest and ISO18013MobileDocumentResponse, and register the documents your app provides through an IdentityDocumentProviderRegistrationStore actor using types like IdentityDocumentRegistration and MobileDocumentRegistration. For web-initiated presentment, you validate and handle requests with IdentityDocumentWebPresentmentRawRequest, IdentityDocumentWebPresentmentRawRequestValidator, IdentityDocumentWebPresentmentRequest, and IdentityDocumentWebPresentmentResponse, surfacing failures as IdentityDocumentPresentmentError. The framework is available on iOS and macOS.
Mobile Document Requests and Responses 2
Model incoming ISO 18013-5 mobile identity document requests and the responses your app returns.
- StISO18013MobileDocumentRequestA type that represents an incoming ISO 18013-5 mobile document request.
- StISO18013MobileDocumentResponseA type representing the document response from a web presentment request.
Document Registration 3
Register the identity documents your app can present for verification.
- AcIdentityDocumentProviderRegistrationStoreA store that is used to notify the system which documents an app has available for presentment.
- PrIdentityDocumentRegistrationA protocol that defines an identity document registration.
- StMobileDocumentRegistrationA type used for registering mobile documents.
Web Presentment 4
Validate and handle web-initiated identity document presentment requests and responses.
- StIdentityDocumentWebPresentmentRawRequestDefines a type that represents a raw web presentment request.
- StIdentityDocumentWebPresentmentRawRequestValidatorA type that contains functions for validating the incoming web presentment raw request.
- PrIdentityDocumentWebPresentmentRequestA closed protocol that indicates this object is used for performing an identity document web presentment.
- PrIdentityDocumentWebPresentmentResponseA closed protocol that indicates this object is used to represent a web presentment response.
Errors 1
Report failures that occur while presenting an identity document.
- StIdentityDocumentPresentmentErrorAn error type that is thrown from the identity document web presentment controller.