Package org.keycloak.representations.idm
Class CredentialRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.CredentialRepresentation
-
public class CredentialRepresentation extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegercounterDeprecated.protected StringdeviceDeprecated.protected StringhashedSaltedValueDeprecated.protected IntegerhashIterationsDeprecated.static StringHOTPstatic StringKERBEROSstatic StringPASSWORDprotected StringsaltDeprecated.static StringSECRETprotected Booleantemporarystatic StringTOTP
-
Constructor Summary
Constructors Constructor Description CredentialRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAlgorithm()Deprecated.MultivaluedHashMap<String,String>getConfig()Deprecated.IntegergetCounter()Deprecated.LonggetCreatedDate()StringgetCredentialData()StringgetDevice()Deprecated.IntegergetDigits()Deprecated.StringgetHashedSaltedValue()Deprecated.IntegergetHashIterations()Deprecated.StringgetId()IntegergetPeriod()Deprecated.IntegergetPriority()StringgetSalt()Deprecated.StringgetSecretData()StringgetType()StringgetUserLabel()StringgetValue()inthashCode()BooleanisTemporary()voidsetCreatedDate(Long createdDate)voidsetCredentialData(String credentialData)voidsetId(String id)voidsetPriority(Integer priority)voidsetSecretData(String secretData)voidsetTemporary(Boolean temporary)voidsetType(String type)voidsetUserLabel(String userLabel)voidsetValue(String value)
-
-
-
Field Detail
-
SECRET
public static final String SECRET
- See Also:
- Constant Field Values
-
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
-
TOTP
public static final String TOTP
- See Also:
- Constant Field Values
-
HOTP
public static final String HOTP
- See Also:
- Constant Field Values
-
KERBEROS
public static final String KERBEROS
- See Also:
- Constant Field Values
-
temporary
protected Boolean temporary
-
device
@Deprecated protected String device
Deprecated.
-
hashedSaltedValue
@Deprecated protected String hashedSaltedValue
Deprecated.
-
salt
@Deprecated protected String salt
Deprecated.
-
hashIterations
@Deprecated protected Integer hashIterations
Deprecated.
-
counter
@Deprecated protected Integer counter
Deprecated.
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getUserLabel
public String getUserLabel()
-
setUserLabel
public void setUserLabel(String userLabel)
-
getSecretData
public String getSecretData()
-
setSecretData
public void setSecretData(String secretData)
-
getCredentialData
public String getCredentialData()
-
setCredentialData
public void setCredentialData(String credentialData)
-
getPriority
public Integer getPriority()
-
setPriority
public void setPriority(Integer priority)
-
getCreatedDate
public Long getCreatedDate()
-
setCreatedDate
public void setCreatedDate(Long createdDate)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isTemporary
public Boolean isTemporary()
-
setTemporary
public void setTemporary(Boolean temporary)
-
getDevice
@Deprecated public String getDevice()
Deprecated.
-
getHashedSaltedValue
@Deprecated public String getHashedSaltedValue()
Deprecated.
-
getSalt
@Deprecated public String getSalt()
Deprecated.
-
getHashIterations
@Deprecated public Integer getHashIterations()
Deprecated.
-
getCounter
@Deprecated public Integer getCounter()
Deprecated.
-
getAlgorithm
@Deprecated public String getAlgorithm()
Deprecated.
-
getDigits
@Deprecated public Integer getDigits()
Deprecated.
-
getPeriod
@Deprecated public Integer getPeriod()
Deprecated.
-
getConfig
@Deprecated public MultivaluedHashMap<String,String> getConfig()
Deprecated.
-
-