mirror of https://github.com/authelia/authelia.git
21 lines
647 B
Go
21 lines
647 B
Go
package regulation
|
|
|
|
import "fmt"
|
|
|
|
// ErrUserIsBanned user is banned error message.
|
|
var ErrUserIsBanned = fmt.Errorf("user is banned")
|
|
|
|
const (
|
|
// AuthType1FA is the string representing an auth log for first-factor authentication.
|
|
AuthType1FA = "1FA"
|
|
|
|
// AuthTypeTOTP is the string representing an auth log for second-factor authentication via TOTP.
|
|
AuthTypeTOTP = "TOTP"
|
|
|
|
// AuthTypeWebAuthn is the string representing an auth log for second-factor authentication via FIDO2/CTAP2/WebAuthn.
|
|
AuthTypeWebAuthn = "WebAuthn"
|
|
|
|
// AuthTypeDuo is the string representing an auth log for second-factor authentication via DUO.
|
|
AuthTypeDuo = "Duo"
|
|
)
|