pub struct UpdateSettingsFlowWithPasskeyMethod {
pub csrf_token: Option<String>,
pub method: String,
pub passkey_remove: Option<String>,
pub passkey_settings_register: Option<String>,
}Expand description
UpdateSettingsFlowWithPasskeyMethod : Update Settings Flow with Passkey Method
Fields§
§csrf_token: Option<String>CSRFToken is the anti-CSRF token
method: StringMethod Should be set to "passkey" when trying to add, update, or remove a webAuthn pairing.
passkey_remove: Option<String>Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
passkey_settings_register: Option<String>Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
Implementations§
Source§impl UpdateSettingsFlowWithPasskeyMethod
impl UpdateSettingsFlowWithPasskeyMethod
Sourcepub fn new(method: String) -> UpdateSettingsFlowWithPasskeyMethod
pub fn new(method: String) -> UpdateSettingsFlowWithPasskeyMethod
Update Settings Flow with Passkey Method
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateSettingsFlowWithPasskeyMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithPasskeyMethod
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
impl StructuralPartialEq for UpdateSettingsFlowWithPasskeyMethod
Auto Trait Implementations§
impl Freeze for UpdateSettingsFlowWithPasskeyMethod
impl RefUnwindSafe for UpdateSettingsFlowWithPasskeyMethod
impl Send for UpdateSettingsFlowWithPasskeyMethod
impl Sync for UpdateSettingsFlowWithPasskeyMethod
impl Unpin for UpdateSettingsFlowWithPasskeyMethod
impl UnsafeUnpin for UpdateSettingsFlowWithPasskeyMethod
impl UnwindSafe for UpdateSettingsFlowWithPasskeyMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more