pub enum SignInOutput {
SignedIn {
session: Map<String, Value>,
user: Map<String, Value>,
},
Challenge(Value),
}Expand description
What a passkey sign-in answers.
Variants§
SignedIn
Signed in: Better Auth’s { session, user }.
Challenge(Value)
A sign-in gate’s answer, e.g. {"twoFactorRedirect": true}. No session exists yet.
Trait Implementations§
Source§impl Debug for SignInOutput
impl Debug for SignInOutput
Auto Trait Implementations§
impl Forget for SignInOutput
impl Freeze for SignInOutput
impl Move for SignInOutput
impl RefUnwindSafe for SignInOutput
impl Send for SignInOutput
impl Sync for SignInOutput
impl Unpin for SignInOutput
impl UnsafeUnpin for SignInOutput
impl UnwindSafe for SignInOutput
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