blazeauth
Reference

get_current_account

Read the account state bound to the current session (credentials auth only).

get_current_account

Return information about the account currently bound to the session.

  • Type: 17
  • Requires initialization: yes
  • Requires authorization: yes (credentials-based session)

Request and response example

get_current_account
Return the account bound to the current session (credentials auth only).

Response notes

  • If the account requires a valid license/subscription and none exist, the server returns account_has_no_valid_licenses (203).
  • time_left is an absolute Unix timestamp (UTC) for when access ends.

Common statuses

StatusMeaning
1ok
3not_authorized
203account_has_no_valid_licenses
6internal_server_error

On this page