-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback
public class KbaCreateCallback extends AbstractPromptCallback
A callback to collect a user's choice of security question and their answer to that question.
-
-
Constructor Summary
Constructors Constructor Description KbaCreateCallback(JSONObject raw, int index)
-
Method Summary
Modifier and Type Method Description voidsetSelectedQuestion(String selectedQuestion)Set the user's chosen question. voidsetSelectedAnswer(String selectedAnswer)Set the user's chosen response to their chosen question. StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AM -
-
Constructor Detail
-
KbaCreateCallback
KbaCreateCallback(JSONObject raw, int index)
-
-
Method Detail
-
setSelectedQuestion
void setSelectedQuestion(String selectedQuestion)
Set the user's chosen question.
- Parameters:
selectedQuestion- the user's chosen question
-
setSelectedAnswer
void setSelectedAnswer(String selectedAnswer)
Set the user's chosen response to their chosen question.
- Parameters:
selectedAnswer- the user's chosen response
-
-
-
-