export challenge response

This commit is contained in:
Kyle Spearrin 2018-06-26 15:55:01 -04:00
parent c3b6baf726
commit 0d30c89c5a
1 changed files with 3 additions and 3 deletions

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;