mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
export challenge response
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user