pub struct GenerateAuthenticateOptions(/* private fields */);Expand description
GET /passkey/generate-authenticate-options: the PublicKeyCredentialRequestOptions to
pass to navigator.credentials.get(). Signed out, any discoverable passkey for this site
may answer; signed in, the options list the user’s passkeys.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for GenerateAuthenticateOptions
impl<D: Adapter> Endpoint<D> for GenerateAuthenticateOptions
const METHOD: Method = Method::GET
const PATH: &'static str = "/passkey/generate-authenticate-options"
type Access = MaybeAuthenticated
type Input = Empty
type Output = PublicKeyCredentialRequestOptions
async fn call( &self, ctx: Ctx<D, MaybeAuthenticated>, _: Empty, ) -> Result<PublicKeyCredentialRequestOptions, AuthError>
Auto Trait Implementations§
impl Forget for GenerateAuthenticateOptions
impl Freeze for GenerateAuthenticateOptions
impl Move for GenerateAuthenticateOptions
impl RefUnwindSafe for GenerateAuthenticateOptions
impl Send for GenerateAuthenticateOptions
impl Sync for GenerateAuthenticateOptions
impl Unpin for GenerateAuthenticateOptions
impl UnsafeUnpin for GenerateAuthenticateOptions
impl UnwindSafe for GenerateAuthenticateOptions
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