Struct ory_client::models::update_login_flow_with_password_method::UpdateLoginFlowWithPasswordMethod
source · pub struct UpdateLoginFlowWithPasswordMethod {
pub csrf_token: Option<String>,
pub identifier: String,
pub method: String,
pub password: String,
pub password_identifier: Option<String>,
}
Expand description
UpdateLoginFlowWithPasswordMethod : Update Login Flow with Password Method
Fields§
§csrf_token: Option<String>
Sending the anti-csrf token is only required for browser login flows.
identifier: String
Identifier is the email or username of the user trying to log in.
method: String
Method should be set to "password" when logging in using the identifier and password strategy.
password: String
The user’s password.
password_identifier: Option<String>
Identifier is the email or username of the user trying to log in. This field is deprecated!
Implementations§
Trait Implementations§
source§impl Clone for UpdateLoginFlowWithPasswordMethod
impl Clone for UpdateLoginFlowWithPasswordMethod
source§fn clone(&self) -> UpdateLoginFlowWithPasswordMethod
fn clone(&self) -> UpdateLoginFlowWithPasswordMethod
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 UpdateLoginFlowWithPasswordMethod
impl<'de> Deserialize<'de> for UpdateLoginFlowWithPasswordMethod
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<UpdateLoginFlowWithPasswordMethod> for UpdateLoginFlowWithPasswordMethod
impl PartialEq<UpdateLoginFlowWithPasswordMethod> for UpdateLoginFlowWithPasswordMethod
source§fn eq(&self, other: &UpdateLoginFlowWithPasswordMethod) -> bool
fn eq(&self, other: &UpdateLoginFlowWithPasswordMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.