Skip to content

Instantly share code, notes, and snippets.

@vadi2
Last active March 12, 2024 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadi2/6fcc05500823122143a5d45c43915ff0 to your computer and use it in GitHub Desktop.
Save vadi2/6fcc05500823122143a5d45c43915ff0 to your computer and use it in GitHub Desktop.
GMCP Authenticate sample password flow
sequenceDiagram
participant Client
participant Server
Client->>Server: Core.Supports.Set ["Char.Login 1", ...]
Server->>Client: Char.Login.Default {"type": ["password-credentials"]}
Client->>Server: Char.Login.Credentials {"character": "username", "password": "password"}
Server->>Client: Char.Login.Result {"success": true}
alt Error
Server->>Client: Char.Login.Result {"success": false, "message": "Invalid credentials"}
end
alt Password & username not known
Client->>Server: Char.Login.Credentials {}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment