pub struct VerifyRegistration(/* private fields */);Expand description
POST /passkey/verify-registration: verifies the authenticator’s attestation against the
challenge from generate-register-options and stores the passkey. Needs a fresh session,
the same user’s, read again from the database like generate-register-options.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for VerifyRegistration
impl<D: Adapter> Endpoint<D> for VerifyRegistration
const METHOD: Method = Method::POST
const PATH: &'static str = "/passkey/verify-registration"
type Access = Fresh
type Input = VerifyRegistrationInput
type Output = RegisterOutput
async fn call( &self, ctx: Ctx<D, Fresh>, input: VerifyRegistrationInput, ) -> Result<RegisterOutput, AuthError>
Auto Trait Implementations§
impl Forget for VerifyRegistration
impl Freeze for VerifyRegistration
impl Move for VerifyRegistration
impl RefUnwindSafe for VerifyRegistration
impl Send for VerifyRegistration
impl Sync for VerifyRegistration
impl Unpin for VerifyRegistration
impl UnsafeUnpin for VerifyRegistration
impl UnwindSafe for VerifyRegistration
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