Overview
Inspect authentication information for a provided auth token.
Client
No require permission rules.
HTTP
GET /getAuthInfo?authToken=authToken
Request Query Parameters
| Code | Type | Required | Description |
|---|---|---|---|
| authToken | string | true | Authentication token to inspect. Get from See Authenticate |
Response Body
200 Ok
| Code | Type | Required | Description |
|---|---|---|---|
| error | string | Error message returned when the auth token cannot be inspected. | |
| data | AuthInfoResponse | Authentication metadata resolved from the token. See AuthInfoResponse |
AuthInfoResponse
| Code | Type | Required | Description |
|---|---|---|---|
| gnToken | string | true | GearN token value. |
| userId | string | true | User id bound to this auth token. |
| isRemove | boolean | true | Whether the token has been removed or invalidated. |
| tsExpire | number | true | Token expiration timestamp in milliseconds. |
| otherDatas | GNHashtable | true | Additional token metadata. See GNHashtable |
| tsCreate | number | true | Token creation timestamp in milliseconds. |
| secretKey | string | true | Secret key context associated with this token. |
GNHashtable
Stores key-value data using the GearN container rules, like dictionary.
| Code | Type | Required | Description |
|---|