-
- 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 WebAuthnAuthenticationCallback extends MetadataCallback implements WebAuthnCallback
A callback that handle WebAuthnAuthentication Node.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWebAuthnAuthenticationCallback.Companion
-
Constructor Summary
Constructors Constructor Description WebAuthnAuthenticationCallback(JSONObject jsonObject, Integer index)WebAuthnAuthenticationCallback()
-
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 WebAuthnAuthenticationgetWebAuthnAuthentication()final Unitauthenticate(Context context, Node node, WebAuthnKeySelector selector, FRListener<Void> listener)Perform WebAuthn Authentication final Unitauthenticate(Context context, Node node, WebAuthnKeySelector selector)Perform WebAuthn Authentication -
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
-
WebAuthnAuthenticationCallback
WebAuthnAuthenticationCallback(JSONObject jsonObject, Integer index)
-
WebAuthnAuthenticationCallback
WebAuthnAuthenticationCallback()
-
-
Method Detail
-
getType
String getType()
Return the type of the Callback, the type name should align with the Callback type returned from AM
-
getWebAuthnAuthentication
WebAuthnAuthentication getWebAuthnAuthentication()
-
authenticate
final Unit authenticate(Context context, Node node, WebAuthnKeySelector selector, FRListener<Void> listener)
Perform WebAuthn Authentication
- Parameters:
context- The Application Contextnode- The Node returned from AMselector- Optional - The selector to select which credential key to use.listener- Listener to listen for result
-
authenticate
final Unit authenticate(Context context, Node node, WebAuthnKeySelector selector)
Perform WebAuthn Authentication
- Parameters:
context- The Application Contextnode- The Node returned from AMselector- The selector to select which credential key to use.
-
-
-
-