Class SecretQuestionCredentialModel
- java.lang.Object
-
- org.keycloak.credential.CredentialModel
-
- org.keycloak.examples.authenticator.credential.SecretQuestionCredentialModel
-
- All Implemented Interfaces:
Serializable
public class SecretQuestionCredentialModel extends CredentialModel
- Version:
- $Revision: 1 $
- Author:
- Alistair Doswald
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from class org.keycloak.credential.CredentialModel
CLIENT_CERT, HOTP, KERBEROS, OTP, PASSWORD, PASSWORD_HISTORY, PASSWORD_TOKEN, SECRET, TOTP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretQuestionCredentialModelcreateFromCredentialModel(CredentialModel credentialModel)static SecretQuestionCredentialModelcreateSecretQuestion(String question, String answer)SecretQuestionCredentialDatagetSecretQuestionCredentialData()SecretQuestionSecretDatagetSecretQuestionSecretData()-
Methods inherited from class org.keycloak.credential.CredentialModel
comparingByStartDateDesc, getAlgorithm, getConfig, getCounter, getCreatedDate, getCredentialData, getDevice, getDigits, getHashIterations, getId, getPeriod, getSalt, getSecretData, getType, getUserLabel, getValue, setAlgorithm, setConfig, setCounter, setCreatedDate, setCredentialData, setDevice, setDigits, setHashIterations, setId, setPeriod, setSalt, setSecretData, setType, setUserLabel, setValue, shallowClone
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSecretQuestion
public static SecretQuestionCredentialModel createSecretQuestion(String question, String answer)
-
createFromCredentialModel
public static SecretQuestionCredentialModel createFromCredentialModel(CredentialModel credentialModel)
-
getSecretQuestionCredentialData
public SecretQuestionCredentialData getSecretQuestionCredentialData()
-
getSecretQuestionSecretData
public SecretQuestionSecretData getSecretQuestionSecretData()
-
-