Class EsupOtpCredential
java.lang.Object
org.apereo.cas.authentication.credential.AbstractCredential
org.esupportail.cas.adaptors.esupotp.EsupOtpCredential
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.Credential
public class EsupOtpCredential
extends org.apereo.cas.authentication.credential.AbstractCredential
This is
EsupOtpCredential.- Since:
- 5.0.0
- See Also:
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.Credential
CREDENTIAL_TYPE_ATTRIBUTE, UNKNOWN_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getToken()getUid()inthashCode()booleanisValid()voidvoidvoidsetTransport(String transport) voidvoidsetUserHash(String userHash) toString()Methods inherited from class org.apereo.cas.authentication.credential.AbstractCredential
getCredentialMetadata, setCredentialMetadata, validate
-
Constructor Details
-
EsupOtpCredential
public EsupOtpCredential()Instantiates a new Esup otp token credential.
-
-
Method Details
-
getId
-
getToken
-
setToken
-
getTransport
-
setTransport
-
getMethod
-
setMethod
-
getUid
-
setUid
-
getUserHash
-
setUserHash
-
toString
- Overrides:
toStringin classorg.apereo.cas.authentication.credential.AbstractCredential
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.apereo.cas.authentication.credential.AbstractCredential
-
equals
- Overrides:
equalsin classorg.apereo.cas.authentication.credential.AbstractCredential
-
isValid
public boolean isValid()- Overrides:
isValidin classorg.apereo.cas.authentication.credential.AbstractCredential
-