Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 880 Bytes

File metadata and controls

33 lines (17 loc) · 880 Bytes

axiom-server

Self host your axiom community server with customizable plugins

Protocol

  1. When the client is running in the background or windowed, it's connected to the Axiom Cloud server

Handshake

Client -> Cloud: { GenerateServerAuth: {} }

Cloud -> Cloud: { ServerAuth: { auth: <Client-Temp-Auth> } }

Client -> Server: Connect

Client -> Server: { auth: <Client-Temp-Auth> }

Server -> Cloud: GET /validate-auth?auth=<Client-Temp-Auth>

Cloud -> Server: { 200 OK { username: <Username>, name: <Name>, id: <User-Id> } }

Sending a message

Client -> Server: { SendMessage: { content: <Message> } }

Server -> Cloud: POST /message { content: <Message>, author: <User-Id> }

Cloud -> Client(s): { Message: { content: <Message>, author: <User-Id> } }

Axiom Cloud

The axiom cloud server is the main auth and notification handler.