mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
9ca0e940da
* adds validation to ACL's * adds a new networks section that can be used as aliases in other sections (currently access_control)
26 lines
879 B
Go
26 lines
879 B
Go
package schema
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const argon2id = "argon2id"
|
|
|
|
// ProfileRefreshDisabled represents a value for refresh_interval that disables the check entirely.
|
|
const ProfileRefreshDisabled = "disable"
|
|
|
|
// ProfileRefreshAlways represents a value for refresh_interval that's the same as 0ms.
|
|
const ProfileRefreshAlways = "always"
|
|
|
|
// RefreshIntervalDefault represents the default value of refresh_interval.
|
|
const RefreshIntervalDefault = "5m"
|
|
|
|
// RefreshIntervalAlways represents the duration value refresh interval should have if set to always.
|
|
const RefreshIntervalAlways = 0 * time.Millisecond
|
|
|
|
// LDAPImplementationCustom is the string for the custom LDAP implementation.
|
|
const LDAPImplementationCustom = "custom"
|
|
|
|
// LDAPImplementationActiveDirectory is the string for the Active Directory LDAP implementation.
|
|
const LDAPImplementationActiveDirectory = "activedirectory"
|