pub struct CookieAuth<P: TokenProvider> { /* private fields */ }Expand description
Cookie: session_token=<token>, for a session signed in through a magic link.
Implementations§
Source§impl<P: TokenProvider> CookieAuth<P>
impl<P: TokenProvider> CookieAuth<P>
Sourcepub fn new(provider: P) -> CookieAuth<P>
pub fn new(provider: P) -> CookieAuth<P>
Cookie auth over a provider.
Trait Implementations§
Source§impl<P: TokenProvider> AuthStrategy for CookieAuth<P>
impl<P: TokenProvider> AuthStrategy for CookieAuth<P>
Auto Trait Implementations§
impl<P> Freeze for CookieAuth<P>where
P: Freeze,
impl<P> RefUnwindSafe for CookieAuth<P>where
P: RefUnwindSafe,
impl<P> Send for CookieAuth<P>
impl<P> Sync for CookieAuth<P>
impl<P> Unpin for CookieAuth<P>where
P: Unpin,
impl<P> UnsafeUnpin for CookieAuth<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for CookieAuth<P>where
P: UnwindSafe,
Blanket Implementations§
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