1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
bitwarden-browser/libs/common/src/models/request/account/setKeyConnectorKeyRequest.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
521 B
TypeScript
Raw Normal View History

2021-10-25 18:21:40 +02:00
import { KdfType } from "../../../enums/kdfType";
2022-02-22 15:39:11 +01:00
import { KeysRequest } from "../keysRequest";
2021-10-25 18:21:40 +02:00
export class SetKeyConnectorKeyRequest {
2021-10-25 18:21:40 +02:00
key: string;
keys: KeysRequest;
kdf: KdfType;
kdfIterations: number;
orgIdentifier: string;
constructor(
key: string,
kdf: KdfType,
kdfIterations: number,
orgIdentifier: string,
keys: KeysRequest
) {
this.key = key;
this.kdf = kdf;
this.kdfIterations = kdfIterations;
this.orgIdentifier = orgIdentifier;
this.keys = keys;
}
}