IosPromptModel
PromptModel for iOS platform.
Types
Link copied to clipboard
class Builder(toHumanReadable: ConvertToHumanReadableFn = ::defaultConvertToHumanReadable) : PromptModel.Builder
Properties
Functions
Link copied to clipboard
Gets the ConsentPromptDialogModel from this PromptModel.
Link copied to clipboard
fun <PromptDialogModelT : PromptDialogModel<*, *>> getDialogModel(dialogType: PromptDialogModel.DialogType<PromptDialogModelT>): PromptDialogModelT
Extracts PromptDialogModel of the required type from this PromptModel.
Link copied to clipboard
Gets the FaceMatcherPromptDialogModel from this PromptModel.
Link copied to clipboard
Link copied to clipboard
Gets the PassphrasePromptDialogModel from this PromptModel.
Link copied to clipboard
This method is called when there is no UI that is bound to a particular PromptDialogModel.
Link copied to clipboard
suspend fun PromptModel.requestConsent(requester: Requester, trustedRequesterIdentity: TrustedRequesterIdentity?, presentmentData: PresentmentData, preselectedDocuments: List<Document>, onDocumentsInFocus: (documents: List<Document>) -> Unit, transactionDataRendererRepository: TransactionDataRendererRepository? = null, requesterHistory: RequesterHistory? = null, classifyPurposesFn: ClassifyPurposesFn = ::defaultClassifyPurposes, classifyRiskFn: ClassifyRiskFn = ::defaultClassifyRisk, classifySimpleConsentFn: ClassifySimpleConsentFn = ::defaultClassifySimpleConsent, platformConsentOptions: PlatformConsentOptions? = null): PresentmentSelection
Shows a consent prompt to the user for presentment of credentials.
Link copied to clipboard
suspend fun PromptModel.requestPassphrase(reason: Reason, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?): String
Prompts user for authentication through a passphrase.
Link copied to clipboard
suspend fun PromptModel.showFaceMatcherLivenessPrompt(matcher: FaceMatcher, poses: List<FacePose> = listOf(FacePose.FRONT), reason: Reason = FaceLivenessReason, requireConfirmation: Boolean = false): Map<FacePose, ByteString>?
Link copied to clipboard
suspend fun PromptModel.showFaceMatcherPrompt(matcher: FaceMatcher, referencePortrait: ByteString, reason: Reason = FaceMatchingReason, requireConfirmation: Boolean = false): Boolean
Prompts user to verify their identity by matching their face against a reference portrait using matcher.