mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 03:54:21 +00:00
16 lines
199 B
Go
16 lines
199 B
Go
|
package domain
|
||
|
|
||
|
type MFAState int32
|
||
|
|
||
|
const (
|
||
|
MFAStateUnspecified MFAState = iota
|
||
|
MFAStateNotReady
|
||
|
MFAStateReady
|
||
|
|
||
|
stateCount
|
||
|
)
|
||
|
|
||
|
func (f MFAState) Valid() bool {
|
||
|
return f >= 0 && f < stateCount
|
||
|
}
|