Struct ory_client::models::submit_self_service_login_flow_with_lookup_secret_method_body::SubmitSelfServiceLoginFlowWithLookupSecretMethodBody [−][src]
pub struct SubmitSelfServiceLoginFlowWithLookupSecretMethodBody {
pub csrf_token: Option<String>,
pub lookup_secret: String,
pub method: String,
}
Fields
csrf_token: Option<String>
Sending the anti-csrf token is only required for browser login flows.
lookup_secret: String
The lookup secret.
method: String
Method should be set to "lookup_secret" when logging in using the lookup_secret strategy.
Implementations
pub fn new(
lookup_secret: String,
method: String
) -> SubmitSelfServiceLoginFlowWithLookupSecretMethodBody
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
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