1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 11:54:02 +00:00

Migrate set initial password component to new API

This commit is contained in:
Bernd Schoolmann
2025-07-23 19:00:15 +02:00
parent 9651196d79
commit adfa3a946e
13 changed files with 100 additions and 100 deletions

View File

@@ -1,9 +1,15 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { SecretVerificationRequest } from "@bitwarden/common/auth/models/request/secret-verification.request";
import { UnsignedSharedKey } from "@bitwarden/common/key-management/crypto/models/enc-string";
export class OrganizationUserResetPasswordEnrollmentRequest extends SecretVerificationRequest {
resetPasswordKey: string;
resetPasswordKey: UnsignedSharedKey;
constructor(unsignedSharedKey: UnsignedSharedKey) {
super();
this.resetPasswordKey = unsignedSharedKey;
}
}
export class OrganizationUserResetPasswordWithIdRequest extends OrganizationUserResetPasswordEnrollmentRequest {