From dcd6c3da7b45cbc2115668a6862b256736905080 Mon Sep 17 00:00:00 2001 From: Dylan Abraham Date: Mon, 24 Jun 2024 11:39:15 -0700 Subject: [PATCH] feat: add account session token API (#290) --- proto/global_admin.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/global_admin.proto b/proto/global_admin.proto index f491f23..211d651 100644 --- a/proto/global_admin.proto +++ b/proto/global_admin.proto @@ -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. @@ -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; +}