-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback,org.forgerock.android.auth.callback.DerivableCallback,org.forgerock.android.auth.callback.WebAuthnCallback
public class WebAuthnRegistrationCallback extends MetadataCallback implements WebAuthnCallback
A callback that handle WebAuthnRegistration Node.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWebAuthnRegistrationCallback.Companion
-
Constructor Summary
Constructors Constructor Description WebAuthnRegistrationCallback(JSONObject jsonObject, Integer index)WebAuthnRegistrationCallback()
-
Method Summary
Modifier and Type Method Description StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AM UnitsetResidentKeyRequirement(ResidentKeyRequirement requirement)final Unitregister(Context context, String deviceName, Node node)Perform WebAuthn Registration final Unitregister(Context context, String deviceName, Node node, FRListener<Void> listener)Perform WebAuthn Registration final Unitregister(Context context, Node node, FRListener<Void> listener)Perform WebAuthn Registration WebAuthnRegistrationgetWebAuthnRegistration()-
Methods inherited from class org.forgerock.android.auth.callback.WebAuthnCallback
setErrorRethrow, setHiddenCallbackValue -
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
getContent, getInputValue, getInputValue, get_id -
Methods inherited from class org.forgerock.android.auth.callback.MetadataCallback
getDerivedCallback, getValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WebAuthnRegistrationCallback
WebAuthnRegistrationCallback(JSONObject jsonObject, Integer index)
-
WebAuthnRegistrationCallback
WebAuthnRegistrationCallback()
-
-
Method Detail
-
getType
String getType()
Return the type of the Callback, the type name should align with the Callback type returned from AM
-
setResidentKeyRequirement
Unit setResidentKeyRequirement(ResidentKeyRequirement requirement)
-
register
final Unit register(Context context, String deviceName, Node node)
Perform WebAuthn Registration
- Parameters:
context- The application contextnode- The current Node
-
register
@JvmOverloads() final Unit register(Context context, String deviceName, Node node, FRListener<Void> listener)
Perform WebAuthn Registration
- Parameters:
node- The current Nodelistener- Listener to listen for WebAuthn Registration Event
-
register
@JvmOverloads() final Unit register(Context context, Node node, FRListener<Void> listener)
Perform WebAuthn Registration
- Parameters:
node- The current Nodelistener- Listener to listen for WebAuthn Registration Event
-
getWebAuthnRegistration
WebAuthnRegistration getWebAuthnRegistration()
-
-
-
-