pub struct WebAuthnRegistrationInitRequest {
pub username: String,
pub display_name: Option<String>,
pub authenticator_attachment: Option<String>,
pub user_verification: Option<String>,
pub current_password: Option<String>,
pub current_mfa_code: Option<String>,
}Expand description
Request to initiate WebAuthn registration
Fields§
§username: String§display_name: Option<String>§authenticator_attachment: Option<String>§user_verification: Option<String>§current_password: Option<String>The caller’s own current password. Required: a bearer token alone does not add a way to sign in to the account.
current_mfa_code: Option<String>For an account with no local password: the current code of its authenticator app.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebAuthnRegistrationInitRequest
impl<'de> Deserialize<'de> for WebAuthnRegistrationInitRequest
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
Auto Trait Implementations§
impl Forget for WebAuthnRegistrationInitRequest
impl Freeze for WebAuthnRegistrationInitRequest
impl Move for WebAuthnRegistrationInitRequest
impl RefUnwindSafe for WebAuthnRegistrationInitRequest
impl Send for WebAuthnRegistrationInitRequest
impl Sync for WebAuthnRegistrationInitRequest
impl Unpin for WebAuthnRegistrationInitRequest
impl UnsafeUnpin for WebAuthnRegistrationInitRequest
impl UnwindSafe for WebAuthnRegistrationInitRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more