-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: create TOTP * Update totp.go Co-authored-by: Laura Beatris <[email protected]> * go gen --------- Co-authored-by: Laura Beatris <[email protected]>
- Loading branch information
1 parent
7bfc31c
commit daecde7
Showing
4 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package clerk | ||
|
||
// Describes a Time-based One-time Password (TOTP) for a user. | ||
type TOTP struct { | ||
APIResource | ||
Object string `json:"object"` | ||
ID string `json:"id"` | ||
Secret *string `json:"secret"` | ||
URI *string `json:"uri" ` | ||
Verified bool `json:"verified"` | ||
BackupCodes []string `json:"backup_codes"` | ||
CreatedAt int64 `json:"created_at"` | ||
UpdatedAt int64 `json:"updated_at"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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