Struct ory_client::models::update_settings_flow_with_web_authn_method::UpdateSettingsFlowWithWebAuthnMethod
source · pub struct UpdateSettingsFlowWithWebAuthnMethod {
pub csrf_token: Option<String>,
pub method: String,
pub webauthn_register: Option<String>,
pub webauthn_register_displayname: Option<String>,
pub webauthn_remove: Option<String>,
}
Expand description
UpdateSettingsFlowWithWebAuthnMethod : Update Settings 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.
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.
webauthn_remove: Option<String>
Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
Implementations§
source§impl UpdateSettingsFlowWithWebAuthnMethod
impl UpdateSettingsFlowWithWebAuthnMethod
sourcepub fn new(method: String) -> UpdateSettingsFlowWithWebAuthnMethod
pub fn new(method: String) -> UpdateSettingsFlowWithWebAuthnMethod
Update Settings Flow with WebAuthn Method
Trait Implementations§
source§impl Clone for UpdateSettingsFlowWithWebAuthnMethod
impl Clone for UpdateSettingsFlowWithWebAuthnMethod
source§fn clone(&self) -> UpdateSettingsFlowWithWebAuthnMethod
fn clone(&self) -> UpdateSettingsFlowWithWebAuthnMethod
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 UpdateSettingsFlowWithWebAuthnMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithWebAuthnMethod
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<UpdateSettingsFlowWithWebAuthnMethod> for UpdateSettingsFlowWithWebAuthnMethod
impl PartialEq<UpdateSettingsFlowWithWebAuthnMethod> for UpdateSettingsFlowWithWebAuthnMethod
source§fn eq(&self, other: &UpdateSettingsFlowWithWebAuthnMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithWebAuthnMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.