ProofingGraphBuilder

A builder of the graph of Nodes that describes proofing workflows.

A chain of steps without forks or merges can be described using DSL inside ProofingGraphBuilder.create call scope.

Each node in the graph has associated id which can be used to look up EvidenceResponse associated with this node.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Choices
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun choice(id: String, message: String, assets: Map<String, ByteString>, acceptButtonText: String, initChoices: ProofingGraphBuilder.Choices.() -> Unit)
Link copied to clipboard
fun completionMessage(id: String, messageTitle: String, message: String, assets: Map<String, ByteString>, acceptButtonText: String, rejectButtonText: String?)
Link copied to clipboard
fun createPassphrase(id: String, message: String, verifyMessage: String, assets: Map<String, ByteString>, passphraseConstraints: PassphraseConstraints)
Link copied to clipboard
fun icaoTunnel(id: String, dataGroups: List<Int>, basicAuthentication: Boolean, initChoices: ProofingGraphBuilder.IcaoChoices.() -> Unit)
Link copied to clipboard
fun message(id: String, message: String, assets: Map<String, ByteString>, acceptButtonText: String, rejectButtonText: String?)
Link copied to clipboard
fun question(id: String, message: String, assets: Map<String, ByteString>, defaultValue: String, acceptButtonText: String)
Link copied to clipboard
fun requestNotificationPermission(id: String, permissionNotAvailableMessage: String, assets: Map<String, ByteString>, grantPermissionButtonText: String, continueWithoutPermissionButtonText: String)
Link copied to clipboard
fun setupCloudSecureArea(id: String, cloudSecureAreaIdentifier: String, passphraseConstraints: PassphraseConstraints, message: String, verifyMessage: String, assets: Map<String, ByteString>)