Class AbstractValidatedCallback
-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback
public abstract class AbstractValidatedCallback extends AbstractCallback
Callbacks that accept user input often need to validate that input either on the client side, the server side or both. Such callbacks should extend this base class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAbstractValidatedCallback.FailedPolicy
-
Constructor Summary
Constructors Constructor Description AbstractValidatedCallback(JSONObject jsonObject, int index)
-
Method Summary
Modifier and Type Method Description abstract StringgetPrompt()JSONObjectgetPolicies()voidsetValidateOnly(boolean validateOnly)-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
getContent, getInputValue, getInputValue, get_id -
Methods inherited from class org.forgerock.android.auth.callback.Callback
getType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractValidatedCallback
AbstractValidatedCallback(JSONObject jsonObject, int index)
-
-
Method Detail
-
getPolicies
JSONObject getPolicies()
-
setValidateOnly
void setValidateOnly(boolean validateOnly)
-
-
-
-