Package com.bandwidth

Interface MultiFactorAuthBasicAuthCredentials

  • All Known Implementing Classes:
    MultiFactorAuthBasicAuthManager

    public interface MultiFactorAuthBasicAuthCredentials
    Interface for defining the behavior of Basic Authentication.
    • Method Detail

      • getBasicAuthUserName

        String getBasicAuthUserName()
        String value for basicAuthUserName.
        Returns:
        basicAuthUserName
      • getBasicAuthPassword

        String getBasicAuthPassword()
        String value for basicAuthPassword.
        Returns:
        basicAuthPassword
      • equals

        boolean equals​(String basicAuthUserName,
                       String basicAuthPassword)
        Checks if provided credentials matched with existing ones.
        Parameters:
        basicAuthUserName - String value for credentials.
        basicAuthPassword - String value for credentials.
        Returns:
        true if credentials matched.