Files
zitadel/apps/api/internal/user/model/otp.go
2025-08-05 15:20:32 -07:00

25 lines
310 B
Go

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
)