Struct ory_client::models::update_registration_flow_with_oidc_method::UpdateRegistrationFlowWithOidcMethod
source · pub struct UpdateRegistrationFlowWithOidcMethod {
pub csrf_token: Option<String>,
pub id_token: Option<String>,
pub id_token_nonce: Option<String>,
pub method: String,
pub provider: String,
pub traits: Option<Value>,
pub transient_payload: Option<Value>,
pub upstream_parameters: Option<Value>,
}Expand description
UpdateRegistrationFlowWithOidcMethod : Update Registration Flow with OpenID Connect Method
Fields§
§csrf_token: Option<String>The CSRF Token
id_token: Option<String>IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider’s public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the traits field to populate the identity’s traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple
id_token_nonce: Option<String>IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required.
method: StringMethod to use This field must be set to oidc when using the oidc method.
provider: StringThe provider to register with
traits: Option<Value>The identity traits
transient_payload: Option<Value>Transient data to pass along to any webhooks
upstream_parameters: Option<Value>UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: login_hint (string): The login_hint parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. hd (string): The hd parameter limits the login/registration process to a Google Organization, e.g. mycollege.edu. prompt (string): The prompt specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. select_account.
Implementations§
source§impl UpdateRegistrationFlowWithOidcMethod
impl UpdateRegistrationFlowWithOidcMethod
sourcepub fn new(
method: String,
provider: String
) -> UpdateRegistrationFlowWithOidcMethod
pub fn new( method: String, provider: String ) -> UpdateRegistrationFlowWithOidcMethod
Update Registration Flow with OpenID Connect Method
Trait Implementations§
source§impl Clone for UpdateRegistrationFlowWithOidcMethod
impl Clone for UpdateRegistrationFlowWithOidcMethod
source§fn clone(&self) -> UpdateRegistrationFlowWithOidcMethod
fn clone(&self) -> UpdateRegistrationFlowWithOidcMethod
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithOidcMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithOidcMethod
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>,
source§impl PartialEq for UpdateRegistrationFlowWithOidcMethod
impl PartialEq for UpdateRegistrationFlowWithOidcMethod
source§fn eq(&self, other: &UpdateRegistrationFlowWithOidcMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithOidcMethod) -> bool
self and other values to be equal, and is used
by ==.