mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 06:17:38 +00:00
25 lines
310 B
Go
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
|
|
)
|