pub struct PatchedIdentificationStageRequest {
pub name: Option<String>,
pub flow_set: Option<Vec<FlowSetRequest>>,
pub user_fields: Option<Vec<UserFieldsEnum>>,
pub password_stage: Option<Option<Uuid>>,
pub case_insensitive_matching: Option<bool>,
pub show_matched_user: Option<bool>,
pub enrollment_flow: Option<Option<Uuid>>,
pub recovery_flow: Option<Option<Uuid>>,
pub passwordless_flow: Option<Option<Uuid>>,
pub sources: Option<Vec<Uuid>>,
pub show_source_labels: Option<bool>,
pub pretend_user_exists: Option<bool>,
}Expand description
PatchedIdentificationStageRequest : IdentificationStage Serializer
Fields§
§name: Option<String>§flow_set: Option<Vec<FlowSetRequest>>§user_fields: Option<Vec<UserFieldsEnum>>Fields of the user object to match against. (Hold shift to select multiple options)
password_stage: Option<Option<Uuid>>When set, shows a password field, instead of showing the password field as seaprate step.
case_insensitive_matching: Option<bool>When enabled, user fields are matched regardless of their casing.
show_matched_user: Option<bool>When a valid username/email has been entered, and this option is enabled, the user’s username and avatar will be shown. Otherwise, the text that the user entered will be shown
enrollment_flow: Option<Option<Uuid>>Optional enrollment flow, which is linked at the bottom of the page.
recovery_flow: Option<Option<Uuid>>Optional recovery flow, which is linked at the bottom of the page.
passwordless_flow: Option<Option<Uuid>>Optional passwordless flow, which is linked at the bottom of the page.
sources: Option<Vec<Uuid>>Specify which sources should be shown.
show_source_labels: Option<bool>§pretend_user_exists: Option<bool>When enabled, the stage will succeed and continue even when incorrect user info is entered.
Implementations§
Source§impl PatchedIdentificationStageRequest
impl PatchedIdentificationStageRequest
Sourcepub fn new() -> PatchedIdentificationStageRequest
pub fn new() -> PatchedIdentificationStageRequest
IdentificationStage Serializer
Trait Implementations§
Source§impl Clone for PatchedIdentificationStageRequest
impl Clone for PatchedIdentificationStageRequest
Source§fn clone(&self) -> PatchedIdentificationStageRequest
fn clone(&self) -> PatchedIdentificationStageRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PatchedIdentificationStageRequest
impl Default for PatchedIdentificationStageRequest
Source§fn default() -> PatchedIdentificationStageRequest
fn default() -> PatchedIdentificationStageRequest
Source§impl<'de> Deserialize<'de> for PatchedIdentificationStageRequest
impl<'de> Deserialize<'de> for PatchedIdentificationStageRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for PatchedIdentificationStageRequest
impl PartialEq for PatchedIdentificationStageRequest
Source§fn eq(&self, other: &PatchedIdentificationStageRequest) -> bool
fn eq(&self, other: &PatchedIdentificationStageRequest) -> bool
self and other values to be equal, and is used by ==.