1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-18 09:13:19 +00:00

Add support for crypto agent (#520)

This commit is contained in:
Oscar Hinton
2021-10-25 18:21:40 +02:00
committed by GitHub
parent bc55557052
commit 71f8ef601f
10 changed files with 158 additions and 13 deletions

View File

@@ -15,6 +15,7 @@ export class IdentityTokenResponse extends BaseResponse {
kdf: KdfType;
kdfIterations: number;
forcePasswordReset: boolean;
cryptoAgentUrl: string;
constructor(response: any) {
super(response);
@@ -30,5 +31,6 @@ export class IdentityTokenResponse extends BaseResponse {
this.kdf = this.getResponseProperty('Kdf');
this.kdfIterations = this.getResponseProperty('KdfIterations');
this.forcePasswordReset = this.getResponseProperty('ForcePasswordReset');
this.cryptoAgentUrl = this.getResponseProperty('CryptoAgentUrl');
}
}