mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 12:57:34 +00:00
chore: move the go code into a subfolder
This commit is contained in:
24
apps/api/internal/user/model/otp.go
Normal file
24
apps/api/internal/user/model/otp.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package model
|
||||
|
||||
type MFAState int32
|
||||
|
||||
const (
|
||||
MFAStateUnspecified MFAState = iota
|
||||
MFAStateNotReady
|
||||
MFAStateReady
|
||||
)
|
||||
|
||||
type MultiFactor struct {
|
||||
Type MFAType
|
||||
State MFAState
|
||||
Attribute string
|
||||
ID string
|
||||
}
|
||||
|
||||
type MFAType int32
|
||||
|
||||
const (
|
||||
MFATypeUnspecified MFAType = iota
|
||||
MFATypeOTP
|
||||
MFATypeU2F
|
||||
)
|
Reference in New Issue
Block a user