Package org.apereo.cas.authentication
Interface MultifactorAuthenticationCredential
-
- All Superinterfaces:
org.apereo.cas.authentication.Credential,java.io.Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MultifactorAuthenticationCredential extends org.apereo.cas.authentication.CredentialInterface for credentials created by MFA providers to match up which provider created them.- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetProviderId()Returns the unique id of the provider that created the credential.default voidsetProviderId(java.lang.String providerId)Sets the unique mark of the provider that created the credential.
-
-
-
Method Detail
-
getProviderId
default java.lang.String getProviderId()
Returns the unique id of the provider that created the credential.- Returns:
- - the mark
-
setProviderId
default void setProviderId(java.lang.String providerId)
Sets the unique mark of the provider that created the credential.- Parameters:
providerId- - the id
-
-