Skip to content

Commit

Permalink
feat: add account session token API (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
PDXKimani committed Jun 24, 2024
1 parent b1e135e commit dcd6c3d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions proto/global_admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package global_admin;

service GlobalAdmin {
rpc GetAccounts(_GetAccountsRequest) returns(_GetAccountsResponse) {}
rpc GetAccountSessionToken (_GetAccountSessionTokenRequest) returns(_GetAccountSessionTokenResponse) {}
}

// No parameters required - we derive identity from the auth header.
Expand All @@ -23,3 +24,11 @@ message _Account {
string id = 1;
string account_name = 2;
}

message _GetAccountSessionTokenRequest {
string account_id = 1;
}

message _GetAccountSessionTokenResponse {
string account_session_token = 1;
}

0 comments on commit dcd6c3d

Please sign in to comment.