Presentment
A composable used for credential presentment.
Applications should embed this composable wherever credential presentment is required. It communicates with the verifier using PresentmentMechanism and PresentmentModel and gets application-specific data sources and policy using PresentmentSource.
Parameters
a Modifier.
the name of the application.
the icon for the application.
the PresentmentModel to use which must have a PromptModel associated with it.
an object for application to provide data and policy.
a DocumentTypeRepository used to find metadata about documents being requested.
called when the presentment is complete.
if true
only the consent prompt will be shown, never any other graphics. This is useful if using a translucent activity.
if true
the cancel button will say "Back" instead of "Cancel".