1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-23 11:43:51 +00:00
Files
jslib/src/models/response/userKeyResponse.ts
2019-03-01 00:13:37 -05:00

13 lines
332 B
TypeScript

import { BaseResponse } from './baseResponse';
export class UserKeyResponse extends BaseResponse {
userId: string;
publicKey: string;
constructor(response: any) {
super(response);
this.userId = this.getResponseProperty('UserId');
this.publicKey = this.getResponseProperty('PublicKey');
}
}