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