1package backend
 2
 3// SettingsBackend is an interface that handles server configuration.
 4type SettingsBackend interface {
 5	// AnonAccess returns the access level for anonymous users.
 6	AnonAccess() AccessLevel
 7	// SetAnonAccess sets the access level for anonymous users.
 8	SetAnonAccess(level AccessLevel) error
 9	// AllowKeyless returns true if keyless access is allowed.
10	AllowKeyless() bool
11	// SetAllowKeyless sets whether or not keyless access is allowed.
12	SetAllowKeyless(allow bool) error
13}