Class PasswordCallback
- java.lang.Object
-
- org.forgerock.android.auth.callback.AbstractCallback
-
- org.forgerock.android.auth.callback.AbstractPromptCallback
-
- org.forgerock.android.auth.callback.PasswordCallback
-
- All Implemented Interfaces:
java.io.Serializable,Callback
public class PasswordCallback extends AbstractPromptCallback
Callback to collect a username- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractPromptCallback
prompt
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractCallback
_id, content, VALUE
-
-
Constructor Summary
Constructors Constructor Description PasswordCallback()PasswordCallback(org.json.JSONObject jsonObject, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AMvoidsetPassword(char[] password)Set the retrieved password.-
Methods inherited from class org.forgerock.android.auth.callback.AbstractPromptCallback
getPrompt, setAttribute
-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValue
-
-
-
-
Method Detail
-
setPassword
public void setPassword(char[] password)
Set the retrieved password.- Parameters:
password- the retrieved password, which may be null.
-
getType
public java.lang.String getType()
Description copied from interface:CallbackReturn the type of the Callback, the type name should align with the Callback type returned from AM
-
-