Class DeviceBindingCallback.Builder
java.lang.Object
org.forgerock.openam.authentication.callbacks.DeviceBindingCallback.Builder
- Enclosing class:
- DeviceBindingCallback
Builder for the DeviceBindingCallback.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the DeviceBindingCallback.withAttestation
(boolean attestation) Set the Android Key Attestation Options.withAuthenticationType
(String authenticationType) Set the Authentication Type to bind the device.withChallenge
(String challenge) Set the challenge to be signed by the device.withDescription
(String description) Set the description to be displayed in biometric prompt.withSubtitle
(String subtitle) Set the subtitle to be displayed in biometric prompt.withTimeout
(Integer timeout) Set the timeout of the binding process.Set the title to be displayed in biometric prompt.withUserId
(String userId) Set the user id of the user.withUsername
(String username) Set the username of the user.
-
Method Details
-
withTitle
Set the title to be displayed in biometric prompt.- Parameters:
title
- The title- Returns:
- this builder
-
withSubtitle
Set the subtitle to be displayed in biometric prompt.- Parameters:
subtitle
- The subtitle- Returns:
- this builder
-
withDescription
Set the description to be displayed in biometric prompt.- Parameters:
description
- The description- Returns:
- this builder
-
withAuthenticationType
Set the Authentication Type to bind the device.- Parameters:
authenticationType
- The Authentication Type- Returns:
- this builder
-
withChallenge
Set the challenge to be signed by the device.- Parameters:
challenge
- The challenge- Returns:
- this builder
-
withUserId
Set the user id of the user.- Parameters:
userId
- The user id- Returns:
- this builder
-
withUsername
Set the username of the user.- Parameters:
username
- The username- Returns:
- this builder
-
withTimeout
Set the timeout of the binding process.- Parameters:
timeout
- The timeout- Returns:
- this builder
-
withAttestation
Set the Android Key Attestation Options.- Parameters:
attestation
- The Key Attestation Options- Returns:
- this builder
-
build
Build the DeviceBindingCallback.- Returns:
- The DeviceBindingCallback
-