struct Interactive {Show 16 fields
sealer: CookieSealer,
backend: SessionBackend,
authorization_endpoint_cfg: Option<String>,
token_endpoint_cfg: Option<String>,
redirect_uri: String,
redirect_path: String,
scope: String,
session_cookie: String,
flow_cookie: String,
cookie_path: String,
session_lifetime: Duration,
refresh_enabled: bool,
logout_path: Option<String>,
post_logout_redirect_uri: String,
authz_endpoint_resolved: Mutex<Option<String>>,
token_endpoint_resolved: Mutex<Option<String>>,
}Expand description
Interactive-mode configuration, present only when bearer_only: false.
Fields§
§sealer: CookieSealer§backend: SessionBackend§token_endpoint_cfg: Option<String>§redirect_uri: String§redirect_path: StringPath portion of redirect_uri, matched to detect the callback.
scope: StringPath attribute for the session and flow cookies. Scoping this to the
app’s subpath (e.g. /app_a) lets two openid-connect nodes on distinct
subpaths hold independent sessions in the browser. Defaults to /.
session_lifetime: Duration§refresh_enabled: boolsession.refresh (default true): redis-mode only — whether a
near-expiry access token is transparently refreshed before identity
is attached. Ignored in cookie mode, which never refreshes.
logout_path: Option<String>§post_logout_redirect_uri: String§authz_endpoint_resolved: Mutex<Option<String>>§token_endpoint_resolved: Mutex<Option<String>>Auto Trait Implementations§
impl !Freeze for Interactive
impl !RefUnwindSafe for Interactive
impl !UnwindSafe for Interactive
impl Send for Interactive
impl Sync for Interactive
impl Unpin for Interactive
impl UnsafeUnpin for Interactive
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more