pub struct VerifyAuthentication(/* private fields */);Expand description
POST /passkey/verify-authentication: verifies the assertion against the challenge from
generate-authenticate-options and the stored public key, checks and advances the
signature counter, then signs the passkey’s user in through the sign-in gates (method
"passkey").
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for VerifyAuthentication
impl<D: Adapter> Endpoint<D> for VerifyAuthentication
const METHOD: Method = Method::POST
const PATH: &'static str = "/passkey/verify-authentication"
type Access = Public
type Input = VerifyAuthenticationInput
type Output = SignInOutput
async fn call( &self, ctx: Ctx<D, Public>, input: VerifyAuthenticationInput, ) -> Result<SignInOutput, AuthError>
Auto Trait Implementations§
impl !RefUnwindSafe for VerifyAuthentication
impl !UnwindSafe for VerifyAuthentication
impl Forget for VerifyAuthentication
impl Freeze for VerifyAuthentication
impl Move for VerifyAuthentication
impl Send for VerifyAuthentication
impl Sync for VerifyAuthentication
impl Unpin for VerifyAuthentication
impl UnsafeUnpin for VerifyAuthentication
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