hwsecurity-fido / de.cotech.hw.fido.ui / FidoDialogOptions / Builder /

Builder

abstract class Builder

Functions

Name Summary
build abstract fun build(): FidoDialogOptions
setPreventScreenshots

abstract fun setPreventScreenshots(preventScreenshots: Boolean): FidoDialogOptions.Builder

Sets FLAG_SECURE on the dialog fragment.

setShowSdkLogo

abstract fun setShowSdkLogo(showLogo: Boolean): FidoDialogOptions.Builder

Shows the Hardware Security SDK Logo with a clickable linkDefault: false

setTheme

abstract fun setTheme(theme: Int): FidoDialogOptions.Builder

Set your own custom theme for the dialog to change colors.

setTimeoutSeconds

abstract fun setTimeoutSeconds(timeoutSeconds: Long): FidoDialogOptions.Builder

Automatically aborts the authentication after a certain time.

setTitle

abstract fun setTitle(title: String): FidoDialogOptions.Builder

Title shown inside the dialogDefault: “Register your Security Key” or “Login with your Security Key”