Class DeviceBindingCallback
java.lang.Object
org.forgerock.openam.authentication.callbacks.DeviceBindingCallback
- All Implemented Interfaces:
Callback
Class representative of a DeviceBindingCallback Object which instructs a client to handle Device Binding.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder for the DeviceBindingCallback. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Get a builder for constructing a new DeviceBindingCallback.Return the Android Key Attestation Options.Return the Authentication Type to bind the device.Return the challenge to be signed by the device.Get the client error.Return the description to be displayed in biometric prompt.Return the device id for the bounded device.Return the device name for the bounded device.getJws()
Return the Json Web Signature.Return the subtitle to be displayed in biometric prompt.Return the timeout of the binding process.getTitle()
Return the title to be displayed in biometric prompt.Return the user id of the user.Return the username of the user.void
setClientError
(String clientError) Set the client error.void
setDeviceId
(String deviceId) Set the device id for the bounded device.void
setDeviceName
(String deviceName) Set the device name for the bounded device.void
Set the Json Web Signature.
-
Method Details
-
getTitle
Return the title to be displayed in biometric prompt.- Returns:
- The Title
-
getSubtitle
Return the subtitle to be displayed in biometric prompt.- Returns:
- The subtitle
-
getDescription
Return the description to be displayed in biometric prompt.- Returns:
- The description
-
getAuthenticationType
Return the Authentication Type to bind the device.- Returns:
- The Authentication Type
-
getChallenge
Return the challenge to be signed by the device.- Returns:
- The challenge
-
getUserId
Return the user id of the user.- Returns:
- The user id
-
getUsername
Return the username of the user.- Returns:
- The username
-
getJws
Return the Json Web Signature.- Returns:
- The Json Web Signature
-
setJws
Set the Json Web Signature.- Parameters:
jws
- The Json Web Signature
-
getTimeout
Return the timeout of the binding process.- Returns:
- The timeout
-
getAttestation
Return the Android Key Attestation Options.- Returns:
- The Key Attestation Options
-
getDeviceName
Return the device name for the bounded device.- Returns:
- The device name
-
setDeviceName
Set the device name for the bounded device.- Parameters:
deviceName
- The device name
-
getDeviceId
Return the device id for the bounded device.- Returns:
- The Device Id
-
setDeviceId
Set the device id for the bounded device.- Parameters:
deviceId
- The device ID
-
getClientError
Get the client error.- Returns:
- The client Error
-
setClientError
Set the client error.- Parameters:
clientError
- The Client Error
-
builder
Get a builder for constructing a new DeviceBindingCallback.- Returns:
- a new builder
-