Class BreachedPassword
java.lang.Object
com.auth0.json.mgmt.attackprotection.BreachedPassword
Represents the Breached Password entity.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStage()
void
setAdminNotificationFrequency
(List<String> adminNotificationFrequency) Sets the frequency email notifications are sent.void
setEnabled
(Boolean enabled) Sets whether or not breached password detection is active.void
Sets the subscription level for breached password detection methods.void
setShields
(List<String> shields) Sets the action to take when a breached password is detected.void
setStage
(BreachedPasswordStage stage) Sets the per-stage configuration options.
-
Constructor Details
-
BreachedPassword
public BreachedPassword()
-
-
Method Details
-
getEnabled
- Returns:
- whether or not breached password detection is active.
-
setEnabled
Sets whether or not breached password detection is active.- Parameters:
enabled
- whether or not breached password detection is active.
-
getMethod
- Returns:
- the subscription level for breached password detection methods.
-
setMethod
Sets the subscription level for breached password detection methods.- Parameters:
method
- the subscription level for breached password detection methods.
-
getShields
- Returns:
- the action to take when a breached password is detected.
-
setShields
Sets the action to take when a breached password is detected.- Parameters:
shields
- the action to take when a breached password is detected.
-
getAdminNotificationFrequency
- Returns:
- the frequency email notifications are sent.
-
setAdminNotificationFrequency
Sets the frequency email notifications are sent.- Parameters:
adminNotificationFrequency
- the frequency email notifications are sent.
-
getStage
- Returns:
- the per-stage configuration options
-
setStage
Sets the per-stage configuration options.- Parameters:
stage
- the per-stage configuration options.
-