pub struct SessionOverrides {
pub additional_fields: FieldValues,
pub impersonated_by: Option<String>,
pub active_organization_id: Option<String>,
pub active_team_id: Option<String>,
}Expand description
Trusted fields for the initial session insert in a custom sign-in flow.
These values pass through configured field policies and session creation hooks. Use only after authenticating the user and authorizing the requested organization, team, or impersonation; issuance does not check membership. The issuer owns the session token, user ID, and expiry.
Fields§
§additional_fields: FieldValuesApplication-defined session fields declared by the schema and configuration.
impersonated_by: Option<String>The trusted administrator responsible for impersonation, if any.
active_organization_id: Option<String>The organization selected by the application for this session.
active_team_id: Option<String>The team selected by the application for this session.
Trait Implementations§
Source§impl Clone for SessionOverrides
impl Clone for SessionOverrides
Source§impl Debug for SessionOverrides
impl Debug for SessionOverrides
Auto Trait Implementations§
impl !RefUnwindSafe for SessionOverrides
impl !UnwindSafe for SessionOverrides
impl Freeze for SessionOverrides
impl Send for SessionOverrides
impl Sync for SessionOverrides
impl Unpin for SessionOverrides
impl UnsafeUnpin for SessionOverrides
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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