add MFA structs, Make Callback Public

This commit is contained in:
Samuel Lorch 2021-09-20 10:23:59 +02:00
parent 21c833b742
commit f01926b1c5
3 changed files with 17 additions and 3 deletions

13
api/mfa.go Normal file
View 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"`
}