-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback
public class ValidatedUsernameCallback extends AbstractValidatedCallback
Callback to collect a username and validate it against IDM policy.
-
-
Constructor Summary
Constructors Constructor Description ValidatedUsernameCallback(JSONObject raw, int index)
-
Method Summary
Modifier and Type Method Description voidsetUsername(String username)Set the retrieved username. StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AM -
Methods inherited from class org.forgerock.android.auth.callback.AbstractValidatedCallback
getPolicies, getPrompt, setValidateOnly -
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
getContent, getInputValue, getInputValue, get_id -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ValidatedUsernameCallback
ValidatedUsernameCallback(JSONObject raw, int index)
-
-
Method Detail
-
setUsername
void setUsername(String username)
Set the retrieved username.
- Parameters:
username- the retrieved name (which may be null).
-
-
-
-