Enum ClientAuthenticationResult
Enum representing possible outcomes of client authentication attempts. Used to communicate authentication status and errors to the client.
public enum ClientAuthenticationResult : byte
Fields
AccountCreated = 0Account was successfully created.
AccountUnverified = 15Account email has not been verified. The user must enter the verification code sent during registration.
AccountVerified = 16Account has been successfully verified with the correct verification code.
AlreadyOnline = 4Account is already online and cannot log in again.
Banned = 5Account is banned and cannot log in.
InvalidUsernameOrPassword = 3Username or password is invalid.
LoginSuccess = 6Login was successful.
NoCharacterSelected = 11No character is selected on the account. The client must select a character before connecting to a world server.
SceneLoginSuccess = 8Login to the scene was successful.
ServerBusy = 10Server is busy and cannot process the request at this time.
ServerFull = 9Server is full and cannot accept new connections.
ServerLocked = 21The server is locked for maintenance and is not accepting this account.
Distinct from ServerFull, which it used to be reported as. "Full" tells the player to try again shortly, which is exactly wrong for a lock: capacity clears on its own, a maintenance lock does not. A locked world still admits accounts above
AccessLevel.Player, so receiving this also means the account is an ordinary player one.SrpProof = 2SRP proof step required.
SrpVerify = 1SRP verification step required.
TokenDecryptFailed = 19Client-only: Auth token decryption failed after otherwise-successful SRP login. The user is authenticated at the Login server but will be unable to connect to World/Scene servers until re-authenticating. Not sent over the wire.
TokenExpired = 13The authentication token has expired.
TokenInvalid = 12The authentication token is invalid (malformed, bad signature, or not found).
TokenRevoked = 14The authentication token has been revoked.
TwoFactorInvalid = 18The submitted TOTP code was invalid or has already been used (anti-replay).
TwoFactorRequired = 17Login requires TOTP two-factor authentication. The client must provide a valid TOTP code.
VersionMismatch = 20Server rejected the client because the game version does not match. The client must update (or downgrade) to match the server's version.
WorldLoginSuccess = 7Login to the world server was successful.