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 Type
    Method
    Description
    default String
    Returns the unique id of the provider that created the credential.
    default void
    setProviderId(String providerId)
    Sets the unique mark of the provider that created the credential.

    Methods inherited from interface org.apereo.cas.authentication.Credential

    getCredentialMetadata, getId

    Methods inherited from interface org.apereo.cas.authentication.MutableCredential

    setCredentialMetadata, setId
  • Method Details

    • getProviderId

      default String getProviderId()
      Returns the unique id of the provider that created the credential.
      Returns:
      - the mark
    • setProviderId

      default void setProviderId(String providerId)
      Sets the unique mark of the provider that created the credential.
      Parameters:
      providerId - - the id