Accounts

  • An account resource represents an account passed into the Account Manager on Glass.

  • The resource has properties including auth tokens, features, password, and user data.

  • Methods are available, such as insert, to interact with 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