1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

export challenge response

This commit is contained in:
Kyle Spearrin 2018-06-26 15:55:01 -04:00
parent c3b6baf726
commit 0d30c89c5a

View File

@ -1,14 +1,14 @@
export class TwoFactorU2fResponse {
enabled: boolean;
challenge: Challenge;
challenge: ChallengeResponse;
constructor(response: any) {
this.enabled = response.Enabled;
this.challenge = new Challenge(response.Challenge);
this.challenge = new ChallengeResponse(response.Challenge);
}
}
class Challenge {
export class ChallengeResponse {
userId: string;
appId: string;
challenge: string;