pub struct ChangeKdfRequestModel {
pub master_password_hash: String,
pub new_master_password_hash: Option<String>,
pub key: Option<String>,
pub authentication_data: Option<Box<MasterPasswordAuthenticationDataRequestModel>>,
pub unlock_data: Option<Box<MasterPasswordUnlockDataRequestModel>>,
}Expand description
ChangeKdfRequestModel : Dual-shape request: validation accepts either the legacy
(Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.NewMasterPasswordHash,
Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.Key) or new
(Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.AuthenticationData,
Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.UnlockData) payload so the wire
contract can stabilize ahead of caller wiring. PostKdf currently honors only the new shape;
legacy-shape dispatch arrives with ChangeKdfCommand’s dual-path refactor. All legacy fields
are removed in PM-33141.
Fields§
§master_password_hash: String§new_master_password_hash: Option<String>§key: Option<String>§authentication_data: Option<Box<MasterPasswordAuthenticationDataRequestModel>>§unlock_data: Option<Box<MasterPasswordUnlockDataRequestModel>>Implementations§
Source§impl ChangeKdfRequestModel
impl ChangeKdfRequestModel
Sourcepub fn new(master_password_hash: String) -> ChangeKdfRequestModel
pub fn new(master_password_hash: String) -> ChangeKdfRequestModel
Dual-shape request: validation accepts either the legacy
(Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.NewMasterPasswordHash,
Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.Key) or new
(Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.AuthenticationData,
Bit.Api.Auth.Models.Request.Accounts.ChangeKdfRequestModel.UnlockData) payload so the wire
contract can stabilize ahead of caller wiring. PostKdf currently honors only the new
shape; legacy-shape dispatch arrives with ChangeKdfCommand’s dual-path refactor. All
legacy fields are removed in PM-33141.
Trait Implementations§
Source§impl Clone for ChangeKdfRequestModel
impl Clone for ChangeKdfRequestModel
Source§fn clone(&self) -> ChangeKdfRequestModel
fn clone(&self) -> ChangeKdfRequestModel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more