Struct ory_client::models::submit_self_service_registration_flow_with_oidc_method_body::SubmitSelfServiceRegistrationFlowWithOidcMethodBody [−][src]
pub struct SubmitSelfServiceRegistrationFlowWithOidcMethodBody {
pub csrf_token: Option<String>,
pub method: String,
pub provider: String,
pub traits: Option<Value>,
}
Expand description
SubmitSelfServiceRegistrationFlowWithOidcMethodBody : SubmitSelfServiceRegistrationFlowWithOidcMethodBody is used to decode the registration form payload when using the oidc method.
Fields
csrf_token: Option<String>
The CSRF Token
method: String
Method to use This field must be set to oidc
when using the oidc method.
provider: String
The provider to register with
traits: Option<Value>
The identity traits
Implementations
pub fn new(
method: String,
provider: String
) -> SubmitSelfServiceRegistrationFlowWithOidcMethodBody
pub fn new(
method: String,
provider: String
) -> SubmitSelfServiceRegistrationFlowWithOidcMethodBody
SubmitSelfServiceRegistrationFlowWithOidcMethodBody is used to decode the registration form payload when using the oidc method.
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