Skip to content

Commit

Permalink
fix: add factor type
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Aug 9, 2024
1 parent 3bd620e commit 722f02c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,9 @@ export type AuthMFAChallengeResponse =
/** ID of the newly created challenge. */
id: string

/** Factor Type which generated the challenge */
type: 'totp' | 'phone'

/** Timestamp in UNIX seconds when this challenge will no longer be usable. */
expires_at: number
}
Expand Down

0 comments on commit 722f02c

Please sign in to comment.