Files
zitadel/apps/api/internal/domain/mfa.go
2025-08-05 15:20:32 -07:00

24 lines
334 B
Go

package domain
import "github.com/zitadel/zitadel/internal/crypto"
type MFAState int32
const (
MFAStateUnspecified MFAState = iota
MFAStateNotReady
MFAStateReady
MFAStateRemoved
stateCount
)
type MultifactorConfigs struct {
OTP OTPConfig
}
type OTPConfig struct {
Issuer string
CryptoMFA crypto.EncryptionAlgorithm
}