Auth Service

Auth Service#

AccessTokenData#

Auth-token and refresh-token data.

After first authorization, the returned value contains an access token and refresh-token (app only).

Additionally, there is also information about the servers.

message AccessTokenData {
 string access_token = 1;
 string token_type = 2;
 uint64 expires = 3;
 string refresh_token = 4;
 string scope = 5;
 string server_version = 6;
 string server_commit_hash = 7;
 string json_api_version = 8;
 string json_api_commit_hash = 9;
}

Field

Type

Description

access_token

string

token_type

string

expires

uint64

refresh_token

string

scope

string

server_version

string

server_commit_hash

string

json_api_version

string

json_api_commit_hash

string

DeactivatedAccountInfo#

Info about deactivated accounts.

message DeactivatedAccountInfo {
 bool is_account_deactivated = 1;
 repeated string enterprise_admins = 2;
 string product = 3;
}

Field

Type

Description

is_account_deactivated

boolean

enterprise_admins

array of string

product

string