Last active
July 7, 2024 16:18
-
-
Save vadi2/6fcc05500823122143a5d45c43915ff0 to your computer and use it in GitHub Desktop.
GMCP Authenticate sample password flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {"account": "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