pub struct VerifyRegistrationInput {
pub response: Value,
pub name: Option<String>,
pub create_session: Option<bool>,
}Expand description
Body of /passkey/verify-registration.
Fields§
§response: ValueThe navigator.credentials.create() result as JSON (RegistrationResponseJSON).
name: Option<String>A name for the passkey.
create_session: Option<bool>Also start a new session, as Better Auth does.
Trait Implementations§
Source§impl Debug for VerifyRegistrationInput
impl Debug for VerifyRegistrationInput
Source§impl<'de> Deserialize<'de> for VerifyRegistrationInput
impl<'de> Deserialize<'de> for VerifyRegistrationInput
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 VerifyRegistrationInput
impl Freeze for VerifyRegistrationInput
impl Move for VerifyRegistrationInput
impl RefUnwindSafe for VerifyRegistrationInput
impl Send for VerifyRegistrationInput
impl Sync for VerifyRegistrationInput
impl Unpin for VerifyRegistrationInput
impl UnsafeUnpin for VerifyRegistrationInput
impl UnwindSafe for VerifyRegistrationInput
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