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