| Name | Type | Description | Notes |
|---|---|---|---|
| text | String | actual token text that should be shipped in header or query | |
| tokenType | String | MASTER : used to create an access token from clients, without login credential ACCESS : protects api access. should be unique for each ide session Note that here"s no REFRESH token, nor LOGIN token. The login api will create unrestricted access token & master token pair. Desktop app has a side-way to create an unrestricted master token before starting IDE instances. | |
| expiresAt | Date | ||
| issuedAt | Date | ||
| sessionId | String | mandatory for ACCESS token, identifying client instance | [optional] |
| workspaceId | String | If truthy, access rights are restricted to specified workspace only. | [optional] |
-
MASTER(value:"MASTER") -
ACCESS(value:"ACCESS")