Skip to content

Commit 29af08f

Browse files
committed
feat(account): add optional user info to ValidateIndependentServiceTokenResponse
1 parent 4b4ea17 commit 29af08f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

protobufs/account/v2/validate_independent_service_token_rpc.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ syntax = "proto3";
33
package account.v2;
44

55
import "account/v2/exchange_independent_service_token_for_user_data_rpc.proto";
6+
import "account/v2/ban_details.proto";
67

78
message ValidateIndependentServiceTokenRequest {
89
IndependentServiceTokenProviderType provider = 1;
@@ -12,5 +13,12 @@ message ValidateIndependentServiceTokenRequest {
1213
}
1314

1415
message ValidateIndependentServiceTokenResponse {
16+
message UserInfo {
17+
bool access_beta_servers = 1;
18+
bool access_developer_servers = 2;
19+
optional Ban ban = 3; // * Not present if not banned
20+
}
21+
1522
bool is_valid = 1;
23+
optional UserInfo user_info = 2; // * Not present if is_valid is false
1624
}

0 commit comments

Comments
 (0)