Enum ory_client::models::submit_self_service_login_flow_body::SubmitSelfServiceLoginFlowBody
source · [−]pub enum SubmitSelfServiceLoginFlowBody {
SubmitSelfServiceLoginFlowWithOidcMethodBody {
csrf_token: Option<String>,
provider: String,
traits: Option<Value>,
},
SubmitSelfServiceLoginFlowWithPasswordMethodBody {
csrf_token: Option<String>,
password: String,
password_identifier: String,
},
SubmitSelfServiceLoginFlowWithTotpMethodBody {
csrf_token: Option<String>,
totp_code: String,
},
}
Variants
SubmitSelfServiceLoginFlowWithOidcMethodBody
Fields
provider: String
The provider to register with
SubmitSelfServiceLoginFlowWithPasswordMethodBody
Fields
password: String
The user’s password.
password_identifier: String
Identifier is the email or username of the user trying to log in.
SubmitSelfServiceLoginFlowWithTotpMethodBody
Fields
totp_code: String
The TOTP code.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for SubmitSelfServiceLoginFlowBody
impl Sync for SubmitSelfServiceLoginFlowBody
impl Unpin for SubmitSelfServiceLoginFlowBody
impl UnwindSafe for SubmitSelfServiceLoginFlowBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more