namespace Robust.Shared.Network { /// /// Possible modes for the authentication support on the server. /// public enum AuthMode : byte { /// /// Authentication is allowed but not required. /// /// /// Unauthenticated clients get a "guest@" or "localhost@" prefix to avoid conflict with authenticated clients. /// Optional = 0, /// /// Authenticated is required to join the server. /// /// /// Unauthenticated clients are still allowed for localhost connections, /// but only if CVar auth.allowlocal is true. /// Required = 1, /// /// Authentication is fully disabled, and even clients capable of authenticating will not authenticate. /// /// /// This disables any sort of "guest@" or "localhost@" prefix for unauthenticated users. /// This may result in confusing mingling of database entries, if actively switched between on the same server. /// Disabled = 2 } }