2020-05-02 23:20:40 +07:00
|
|
|
package schema
|
|
|
|
|
2020-05-05 02:39:25 +07:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2020-05-06 07:52:06 +07:00
|
|
|
const argon2id = "argon2id"
|
|
|
|
|
2020-05-05 02:39:25 +07:00
|
|
|
// 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
|
2020-11-27 16:59:22 +07:00
|
|
|
|
|
|
|
// 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"
|