pub enum UpdateSettingsFlowBody {
UpdateSettingsFlowWithLookupMethod {
csrf_token: Option<String>,
lookup_secret_confirm: Option<bool>,
lookup_secret_disable: Option<bool>,
lookup_secret_regenerate: Option<bool>,
lookup_secret_reveal: Option<bool>,
},
UpdateSettingsFlowWithOidcMethod {
flow: Option<String>,
link: Option<String>,
traits: Option<Value>,
unlink: Option<String>,
},
UpdateSettingsFlowWithPasswordMethod {
csrf_token: Option<String>,
password: String,
},
UpdateSettingsFlowWithProfileMethod {
csrf_token: Option<String>,
traits: Value,
},
UpdateSettingsFlowWithTotpMethod {
csrf_token: Option<String>,
totp_code: Option<String>,
totp_unlink: Option<bool>,
},
UpdateSettingsFlowWithWebAuthnMethod {
csrf_token: Option<String>,
webauthn_register: Option<String>,
webauthn_register_displayname: Option<String>,
webauthn_remove: Option<String>,
},
}
Expand description
UpdateSettingsFlowBody : Update Settings Flow Request Body
Variants§
UpdateSettingsFlowWithLookupMethod
Fields
UpdateSettingsFlowWithOidcMethod
Fields
UpdateSettingsFlowWithPasswordMethod
Fields
UpdateSettingsFlowWithProfileMethod
Fields
UpdateSettingsFlowWithTotpMethod
Fields
UpdateSettingsFlowWithWebAuthnMethod
Fields
§
webauthn_register: Option<String>
Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
Trait Implementations§
source§impl Clone for UpdateSettingsFlowBody
impl Clone for UpdateSettingsFlowBody
source§fn clone(&self) -> UpdateSettingsFlowBody
fn clone(&self) -> UpdateSettingsFlowBody
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateSettingsFlowBody
impl Debug for UpdateSettingsFlowBody
source§impl<'de> Deserialize<'de> for UpdateSettingsFlowBody
impl<'de> Deserialize<'de> for UpdateSettingsFlowBody
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<UpdateSettingsFlowBody> for UpdateSettingsFlowBody
impl PartialEq<UpdateSettingsFlowBody> for UpdateSettingsFlowBody
source§fn eq(&self, other: &UpdateSettingsFlowBody) -> bool
fn eq(&self, other: &UpdateSettingsFlowBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.