Accounts

  • This resource represents an account within the Glass platform's Account Manager.

  • Account data includes features, password, user data, and authentication tokens.

  • Authentication tokens are differentiated by type and contain an authToken string.

  • User data is stored as key-value pairs within the account representation.

  • Available methods for this resource are detailed at the bottom of the page and currently include an insert method for new accounts.

For a list of methods for this resource, see the end of this page.

Resource representations

Represents an account passed into the Account Manager on Glass.

{
  "features": [
    string
  ],
  "password": string,
  "userData": [
    {
      "key": string,
      "value": string
    }
  ],
  "authTokens": [
    {
      "type": string,
      "authToken": string
    }
  ]
}
Property name Value Description Notes
authTokens[] list
authTokens[].authToken string
authTokens[].type string
features[] list
password string
userData[] list
userData[].key string
userData[].value string

Methods

insert
Inserts a new account for a user