mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
export challenge response
This commit is contained in:
parent
c3b6baf726
commit
0d30c89c5a
@ -1,14 +1,14 @@
|
|||||||
export class TwoFactorU2fResponse {
|
export class TwoFactorU2fResponse {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
challenge: Challenge;
|
challenge: ChallengeResponse;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
this.enabled = response.Enabled;
|
this.enabled = response.Enabled;
|
||||||
this.challenge = new Challenge(response.Challenge);
|
this.challenge = new ChallengeResponse(response.Challenge);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Challenge {
|
export class ChallengeResponse {
|
||||||
userId: string;
|
userId: string;
|
||||||
appId: string;
|
appId: string;
|
||||||
challenge: string;
|
challenge: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user