Package org.apereo.cas.authentication
Interface MultifactorAuthenticationCredential
- All Superinterfaces:
org.apereo.cas.authentication.Credential,org.apereo.cas.authentication.MutableCredential,Serializable
public interface MultifactorAuthenticationCredential
extends org.apereo.cas.authentication.MutableCredential
Interface for credentials created by MFA providers to match up which provider created them.
- Since:
- 6.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.Credential
CREDENTIAL_TYPE_ATTRIBUTE, UNKNOWN_ID -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the unique id of the provider that created the credential.default voidsetProviderId(String providerId) Sets the unique mark of the provider that created the credential.Methods inherited from interface org.apereo.cas.authentication.Credential
getCredentialMetadata, getIdMethods inherited from interface org.apereo.cas.authentication.MutableCredential
setCredentialMetadata, setId
-
Method Details
-
getProviderId
Returns the unique id of the provider that created the credential.- Returns:
- - the mark
-
setProviderId
Sets the unique mark of the provider that created the credential.- Parameters:
providerId- - the id
-