WebPromptModel
PromptModel for Web platform.
Types
Link copied to clipboard
class Builder(toHumanReadable: ConvertToHumanReadableFn = ::defaultConvertToHumanReadable) : PromptModel.Builder
Properties
Functions
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun PromptModel.requestConsent(requester: Requester, trustMetadata: TrustMetadata?, credentialPresentmentData: CredentialPresentmentData, preselectedDocuments: List<Document>, onDocumentsInFocus: (documents: List<Document>) -> Unit): CredentialPresentmentSelection
Shows a consent prompt to the user for presentment of credentials.
Link copied to clipboard
suspend fun PromptModel.requestPassphrase(title: String, subtitle: String, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?): String
Prompts user for authentication through a passphrase.