Struct ory_client::models::update_login_flow_with_totp_method::UpdateLoginFlowWithTotpMethod
source · pub struct UpdateLoginFlowWithTotpMethod {
pub csrf_token: Option<String>,
pub method: String,
pub totp_code: String,
}
Expand description
UpdateLoginFlowWithTotpMethod : Update Login Flow with TOTP Method
Fields§
§csrf_token: Option<String>
Sending the anti-csrf token is only required for browser login flows.
method: String
Method should be set to "totp" when logging in using the TOTP strategy.
totp_code: String
The TOTP code.
Implementations§
source§impl UpdateLoginFlowWithTotpMethod
impl UpdateLoginFlowWithTotpMethod
sourcepub fn new(method: String, totp_code: String) -> UpdateLoginFlowWithTotpMethod
pub fn new(method: String, totp_code: String) -> UpdateLoginFlowWithTotpMethod
Update Login Flow with TOTP Method
Trait Implementations§
source§impl Clone for UpdateLoginFlowWithTotpMethod
impl Clone for UpdateLoginFlowWithTotpMethod
source§fn clone(&self) -> UpdateLoginFlowWithTotpMethod
fn clone(&self) -> UpdateLoginFlowWithTotpMethod
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<'de> Deserialize<'de> for UpdateLoginFlowWithTotpMethod
impl<'de> Deserialize<'de> for UpdateLoginFlowWithTotpMethod
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<UpdateLoginFlowWithTotpMethod> for UpdateLoginFlowWithTotpMethod
impl PartialEq<UpdateLoginFlowWithTotpMethod> for UpdateLoginFlowWithTotpMethod
source§fn eq(&self, other: &UpdateLoginFlowWithTotpMethod) -> bool
fn eq(&self, other: &UpdateLoginFlowWithTotpMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.