mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
add MFA structs, Make Callback Public
This commit is contained in:
parent
21c833b742
commit
f01926b1c5
3 changed files with 17 additions and 3 deletions
13
api/mfa.go
Normal file
13
api/mfa.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package api
|
||||
|
||||
type MFAChallange struct {
|
||||
Provider MFAProviders `json:"providers,omitempty"`
|
||||
}
|
||||
|
||||
type MFAProviders struct {
|
||||
TOTP string `json:"totp,omitempty"`
|
||||
}
|
||||
|
||||
type MFAChallangeResponse struct {
|
||||
TOTP string `json:"totp,omitempty"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue