Authentication

Authentication for websockets.

WebSocket connections are stateful, making the authentication process connection-oriented.

  1. Request an Account Token:

    • Use the PUBLISH get_account_token request outlined here.
  2. Sign the Token:

    • The client signs the retrieved token using their private key from the wallet associated with the account.
  3. Authenticate the Connection:

    • Use the PUBLISH authenticate request outlined here with the signed token.
  4. Connection is Authenticated:

    • The WebSocket connection can now make requests on behalf of the account.