pub struct JitMasterPasswordRegistrationRequest {
pub org_id: OrganizationId,
pub org_public_key: B64,
pub organization_sso_identifier: String,
pub user_id: UserId,
pub salt: String,
pub master_password: String,
pub master_password_hint: Option<String>,
pub reset_password_enroll: bool,
}Expand description
Request parameters for SSO JIT master password registration.
Fields§
§org_id: OrganizationIdOrganization ID to enroll in
org_public_key: B64Organization’s public key for encrypting the reset password key. This should be verified by the client and not verifying may compromise the security of the user’s account.
organization_sso_identifier: StringOrganization SSO identifier
user_id: UserIdUser ID for the account being initialized
salt: StringSalt for master password hashing, usually email
master_password: StringMaster password for the account
master_password_hint: Option<String>Optional hint for the master password
reset_password_enroll: boolShould enroll user into admin password reset
Trait Implementations§
Source§impl Clone for JitMasterPasswordRegistrationRequest
impl Clone for JitMasterPasswordRegistrationRequest
Source§fn clone(&self) -> JitMasterPasswordRegistrationRequest
fn clone(&self) -> JitMasterPasswordRegistrationRequest
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<'de> Deserialize<'de> for JitMasterPasswordRegistrationRequest
impl<'de> Deserialize<'de> for JitMasterPasswordRegistrationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JitMasterPasswordRegistrationRequest
impl RefUnwindSafe for JitMasterPasswordRegistrationRequest
impl Send for JitMasterPasswordRegistrationRequest
impl Sync for JitMasterPasswordRegistrationRequest
impl Unpin for JitMasterPasswordRegistrationRequest
impl UnsafeUnpin for JitMasterPasswordRegistrationRequest
impl UnwindSafe for JitMasterPasswordRegistrationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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