#[non_exhaustive]pub struct AccountTakeoverActionType {
pub notify: bool,
pub event_action: AccountTakeoverEventActionType,
}Expand description
Account takeover action type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.notify: boolFlag specifying whether to send a notification.
event_action: AccountTakeoverEventActionTypeThe action to take in response to the account takeover action. Valid values are as follows:
-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
Implementations§
source§impl AccountTakeoverActionType
impl AccountTakeoverActionType
sourcepub fn event_action(&self) -> &AccountTakeoverEventActionType
pub fn event_action(&self) -> &AccountTakeoverEventActionType
The action to take in response to the account takeover action. Valid values are as follows:
-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
source§impl AccountTakeoverActionType
impl AccountTakeoverActionType
sourcepub fn builder() -> AccountTakeoverActionTypeBuilder
pub fn builder() -> AccountTakeoverActionTypeBuilder
Creates a new builder-style object to manufacture AccountTakeoverActionType.
Trait Implementations§
source§impl Clone for AccountTakeoverActionType
impl Clone for AccountTakeoverActionType
source§fn clone(&self) -> AccountTakeoverActionType
fn clone(&self) -> AccountTakeoverActionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccountTakeoverActionType
impl Debug for AccountTakeoverActionType
source§impl PartialEq for AccountTakeoverActionType
impl PartialEq for AccountTakeoverActionType
source§fn eq(&self, other: &AccountTakeoverActionType) -> bool
fn eq(&self, other: &AccountTakeoverActionType) -> bool
self and other values to be equal, and is used
by ==.