pub struct ResolvedSessionContextConfig {
pub cookie_name: String,
pub session_context_key: String,
pub cookie_path: String,
pub http_only: bool,
pub secure: bool,
pub same_site: SessionCookieSameSite,
pub ttl: Option<Duration>,
pub post_auth_redirect: RedirectTargetConfig,
}Fields§
§session_context_key: String§http_only: bool§secure: bool§same_site: SessionCookieSameSite§ttl: Option<Duration>§post_auth_redirect: RedirectTargetConfigImplementations§
Source§impl ResolvedSessionContextConfig
impl ResolvedSessionContextConfig
pub fn resolve_post_auth_redirect( &self, requested_post_auth_redirect: Option<&str>, ) -> SessionContextResult<String>
Trait Implementations§
Source§impl Clone for ResolvedSessionContextConfig
impl Clone for ResolvedSessionContextConfig
Source§fn clone(&self) -> ResolvedSessionContextConfig
fn clone(&self) -> ResolvedSessionContextConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedSessionContextConfig
impl Debug for ResolvedSessionContextConfig
Source§impl PartialEq for ResolvedSessionContextConfig
impl PartialEq for ResolvedSessionContextConfig
Source§fn eq(&self, other: &ResolvedSessionContextConfig) -> bool
fn eq(&self, other: &ResolvedSessionContextConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolvedSessionContextConfig
impl StructuralPartialEq for ResolvedSessionContextConfig
Auto Trait Implementations§
impl Freeze for ResolvedSessionContextConfig
impl RefUnwindSafe for ResolvedSessionContextConfig
impl Send for ResolvedSessionContextConfig
impl Sync for ResolvedSessionContextConfig
impl Unpin for ResolvedSessionContextConfig
impl UnsafeUnpin for ResolvedSessionContextConfig
impl UnwindSafe for ResolvedSessionContextConfig
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