pub struct SsoLoginDone {
pub principal: Principal,
pub user: SsoUser,
pub created: bool,
pub claimed: bool,
pub claimed_by: Option<&'static str>,
pub session: Option<PublicKey>,
}Expand description
What a committed SSO login answers.
Fields§
§principal: PrincipalThe employee who logged in.
user: SsoUserIts directory row, as written.
created: boolThis login created the employee (just in time).
claimed: boolThis login bound a provisioned user (SCIM/CSV) to its subject.
claimed_by: Option<&'static str>How the provisioned user was bound, for the audit line:
external_id (the admin’s binding) or verified_email.
session: Option<PublicKey>The session key enrolled, when one was asked.
Trait Implementations§
Source§impl Clone for SsoLoginDone
impl Clone for SsoLoginDone
Auto Trait Implementations§
impl Freeze for SsoLoginDone
impl RefUnwindSafe for SsoLoginDone
impl Send for SsoLoginDone
impl Sync for SsoLoginDone
impl Unpin for SsoLoginDone
impl UnsafeUnpin for SsoLoginDone
impl UnwindSafe for SsoLoginDone
Blanket Implementations§
impl<T> Allocation for T
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