pub struct SettingsFlow {
pub active: Option<String>,
pub expires_at: String,
pub id: String,
pub identity: Box<Identity>,
pub issued_at: String,
pub request_url: String,
pub state: String,
pub _type: Option<String>,
pub ui: Box<UiContainer>,
}Expand description
SettingsFlow : This flow is used when an identity wants to update settings (e.g. profile data, passwords, …) in a selfservice manner. We recommend reading the User Settings Documentation
Fields§
§active: Option<String>Active, if set, contains the registration method that is being used. It is initially not set.
expires_at: StringExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated.
id: String§identity: Box<Identity>§issued_at: StringIssuedAt is the time (UTC) when the flow occurred.
request_url: StringRequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL’s path or query for example.
state: String§_type: Option<String>The flow type can either be api or browser.
ui: Box<UiContainer>Implementations§
Source§impl SettingsFlow
impl SettingsFlow
Sourcepub fn new(
expires_at: String,
id: String,
identity: Identity,
issued_at: String,
request_url: String,
state: String,
ui: UiContainer,
) -> SettingsFlow
pub fn new( expires_at: String, id: String, identity: Identity, issued_at: String, request_url: String, state: String, ui: UiContainer, ) -> SettingsFlow
This flow is used when an identity wants to update settings (e.g. profile data, passwords, …) in a selfservice manner. We recommend reading the User Settings Documentation
Trait Implementations§
Source§impl Clone for SettingsFlow
impl Clone for SettingsFlow
Source§fn clone(&self) -> SettingsFlow
fn clone(&self) -> SettingsFlow
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more