Class BreachedPassword

java.lang.Object
com.auth0.json.mgmt.attackprotection.BreachedPassword

public class BreachedPassword extends Object
Represents the Breached Password entity.
See Also:
  • Constructor Details

    • BreachedPassword

      public BreachedPassword()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      Returns:
      whether or not breached password detection is active.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether or not breached password detection is active.
      Parameters:
      enabled - whether or not breached password detection is active.
    • getMethod

      public String getMethod()
      Returns:
      the subscription level for breached password detection methods.
    • setMethod

      public void setMethod(String method)
      Sets the subscription level for breached password detection methods.
      Parameters:
      method - the subscription level for breached password detection methods.
    • getShields

      public List<String> getShields()
      Returns:
      the action to take when a breached password is detected.
    • setShields

      public void setShields(List<String> shields)
      Sets the action to take when a breached password is detected.
      Parameters:
      shields - the action to take when a breached password is detected.
    • getAdminNotificationFrequency

      public List<String> getAdminNotificationFrequency()
      Returns:
      the frequency email notifications are sent.
    • setAdminNotificationFrequency

      public void setAdminNotificationFrequency(List<String> adminNotificationFrequency)
      Sets the frequency email notifications are sent.
      Parameters:
      adminNotificationFrequency - the frequency email notifications are sent.
    • getStage

      public BreachedPasswordStage getStage()
      Returns:
      the per-stage configuration options
    • setStage

      public void setStage(BreachedPasswordStage stage)
      Sets the per-stage configuration options.
      Parameters:
      stage - the per-stage configuration options.