Struct ory_client::models::update_login_flow_with_oidc_method::UpdateLoginFlowWithOidcMethod
source · pub struct UpdateLoginFlowWithOidcMethod {
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 upstream_parameters: Option<Value>,
}Expand description
UpdateLoginFlowWithOidcMethod : Update Login 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 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. This is a placeholder for the registration flow.
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 UpdateLoginFlowWithOidcMethod
impl UpdateLoginFlowWithOidcMethod
sourcepub fn new(method: String, provider: String) -> UpdateLoginFlowWithOidcMethod
pub fn new(method: String, provider: String) -> UpdateLoginFlowWithOidcMethod
Update Login Flow with OpenID Connect Method
Trait Implementations§
source§impl Clone for UpdateLoginFlowWithOidcMethod
impl Clone for UpdateLoginFlowWithOidcMethod
source§fn clone(&self) -> UpdateLoginFlowWithOidcMethod
fn clone(&self) -> UpdateLoginFlowWithOidcMethod
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 UpdateLoginFlowWithOidcMethod
impl<'de> Deserialize<'de> for UpdateLoginFlowWithOidcMethod
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 UpdateLoginFlowWithOidcMethod
impl PartialEq for UpdateLoginFlowWithOidcMethod
source§fn eq(&self, other: &UpdateLoginFlowWithOidcMethod) -> bool
fn eq(&self, other: &UpdateLoginFlowWithOidcMethod) -> bool
self and other values to be equal, and is used
by ==.