Class DeviceSigningVerifierCallback.Builder
java.lang.Object
org.forgerock.openam.authentication.callbacks.DeviceSigningVerifierCallback.Builder
- Enclosing class:
- DeviceSigningVerifierCallback
Builder for DeviceSigningVerifierCallback.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the DeviceSigningVerifierCallback.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.
-
Method Details
-
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
-
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
-
withTimeout
Set the timeout of the binding process.- Parameters:
timeout
- The timeout- Returns:
- this builder
-
build
Build the DeviceSigningVerifierCallback.- Returns:
- The DeviceSigningVerifierCallback
-