pub struct ManifestAuthSessionConfig {
pub expires_in: u64,
pub cookie_cache: ManifestAuthCookieCacheConfig,
}Fields§
§expires_in: u64Lifetime of new sessions in seconds. Default 30 days.
Cookie cache config — bakes the listed claims into the cookie
itself so /api/auth/me-style probes can resolve identity
without a session-store lookup. Mirrors better-auth’s
session.cookieCache.
Trait Implementations§
Source§impl Clone for ManifestAuthSessionConfig
impl Clone for ManifestAuthSessionConfig
Source§fn clone(&self) -> ManifestAuthSessionConfig
fn clone(&self) -> ManifestAuthSessionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManifestAuthSessionConfig
impl Debug for ManifestAuthSessionConfig
Source§impl Default for ManifestAuthSessionConfig
impl Default for ManifestAuthSessionConfig
Source§impl<'de> Deserialize<'de> for ManifestAuthSessionConfig
impl<'de> Deserialize<'de> for ManifestAuthSessionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ManifestAuthSessionConfig
impl StructuralPartialEq for ManifestAuthSessionConfig
Auto Trait Implementations§
impl Freeze for ManifestAuthSessionConfig
impl RefUnwindSafe for ManifestAuthSessionConfig
impl Send for ManifestAuthSessionConfig
impl Sync for ManifestAuthSessionConfig
impl Unpin for ManifestAuthSessionConfig
impl UnsafeUnpin for ManifestAuthSessionConfig
impl UnwindSafe for ManifestAuthSessionConfig
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