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.Credential
    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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getProviderId()
      Returns the unique id of the provider that created the credential.
      default void setProviderId​(java.lang.String providerId)
      Sets the unique mark of the provider that created the credential.
      • Methods inherited from interface org.apereo.cas.authentication.Credential

        getId
    • 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