diff --git a/libs/auth/src/angular/input-password/input-password.mdx b/libs/auth/src/angular/input-password/input-password.mdx index c1edcc254a7..f12dd7de23b 100644 --- a/libs/auth/src/angular/input-password/input-password.mdx +++ b/libs/auth/src/angular/input-password/input-password.mdx @@ -90,20 +90,25 @@ When the form is submitted, the `InputPasswordComponent` does the following in o continue with the password or to back out and choose a different password. 2. If there is a master password policy being enforced by an org, it will check to make sure the entered master password meets the policy requirements. -3. The component will use the password, email, and default kdfConfig to create a master key and - master key hash. +3. The component will use the password, email, and kdfConfig to create cryptographic properties. 4. The component will emit the following values (defined in the `PasswordInputResult` interface) to be used by the parent component as needed: ```typescript export interface PasswordInputResult { + // Properties starting with "current..." are included if the flow is ChangePassword or ChangePasswordWithOptionalUserKeyRotation + currentPassword?: string; + currentMasterKey?: MasterKey; + currentServerMasterKeyHash?: string; + currentLocalMasterKeyHash?: string; + newPassword: string; - hint: string; - kdfConfig: PBKDF2KdfConfig; - masterKey: MasterKey; - serverMasterKeyHash: string; - localMasterKeyHash: string; - currentPassword?: string; // included if the flow is ChangePassword or ChangePasswordWithOptionalUserKeyRotation + newPasswordHint: string; + newMasterKey: MasterKey; + newServerMasterKeyHash: string; + newLocalMasterKeyHash: string; + + kdfConfig: KdfConfig; rotateUserKey?: boolean; // included if the flow is ChangePasswordWithOptionalUserKeyRotation } ```