pub struct IdentificationStage {Show 17 fields
pub pk: Uuid,
pub name: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub flow_set: Option<Vec<FlowSet>>,
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
IdentificationStage : IdentificationStage Serializer
Fields§
§pk: Uuid
§name: String
§component: String
Get object type so that we know how to edit the object
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
flow_set: Option<Vec<FlowSet>>
§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§
Trait Implementations§
Source§impl Clone for IdentificationStage
impl Clone for IdentificationStage
Source§fn clone(&self) -> IdentificationStage
fn clone(&self) -> IdentificationStage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more