Struct ory_client::models::update_registration_flow_with_web_authn_method::UpdateRegistrationFlowWithWebAuthnMethod
source · pub struct UpdateRegistrationFlowWithWebAuthnMethod {
pub csrf_token: Option<String>,
pub method: String,
pub traits: Value,
pub webauthn_register: Option<String>,
pub webauthn_register_displayname: Option<String>,
}
Expand description
UpdateRegistrationFlowWithWebAuthnMethod : Update Registration Flow with WebAuthn Method
Fields§
§csrf_token: Option<String>
CSRFToken is the anti-CSRF token
method: String
Method Should be set to "webauthn" when trying to add, update, or remove a webAuthn pairing.
traits: Value
The identity’s traits
webauthn_register: Option<String>
Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
webauthn_register_displayname: Option<String>
Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added.
Implementations§
source§impl UpdateRegistrationFlowWithWebAuthnMethod
impl UpdateRegistrationFlowWithWebAuthnMethod
sourcepub fn new(
method: String,
traits: Value
) -> UpdateRegistrationFlowWithWebAuthnMethod
pub fn new(
method: String,
traits: Value
) -> UpdateRegistrationFlowWithWebAuthnMethod
Update Registration Flow with WebAuthn Method
Trait Implementations§
source§impl Clone for UpdateRegistrationFlowWithWebAuthnMethod
impl Clone for UpdateRegistrationFlowWithWebAuthnMethod
source§fn clone(&self) -> UpdateRegistrationFlowWithWebAuthnMethod
fn clone(&self) -> UpdateRegistrationFlowWithWebAuthnMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithWebAuthnMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithWebAuthnMethod
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<UpdateRegistrationFlowWithWebAuthnMethod> for UpdateRegistrationFlowWithWebAuthnMethod
impl PartialEq<UpdateRegistrationFlowWithWebAuthnMethod> for UpdateRegistrationFlowWithWebAuthnMethod
source§fn eq(&self, other: &UpdateRegistrationFlowWithWebAuthnMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithWebAuthnMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.