-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
enrollAuthFactor
method (#903)
## Description ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required. #### PR Dependency Tree * **PR #903** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal)
- Loading branch information
1 parent
a8e2827
commit 39dbc89
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
src/user-management/interfaces/enroll-auth-factor.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
export interface EnrollAuthFactorOptions { | ||
userId: string; | ||
type: 'totp'; | ||
totpIssuer: string; | ||
totpUser: string; | ||
totpIssuer?: string; | ||
totpUser?: string; | ||
} | ||
|
||
export interface SerializedEnrollUserInMfaFactorOptions { | ||
type: 'totp'; | ||
totp_issuer: string; | ||
totp_user: string; | ||
totp_issuer?: string; | ||
totp_user?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters