From 606f5293fa45be93c7adbb443162672db7edb549 Mon Sep 17 00:00:00 2001
From: Ishank Arora
Date: Tue, 27 Apr 2021 13:26:50 +0200
Subject: [PATCH] Add token scope field to gateway authenticate requests
---
cs3/gateway/v1beta1/gateway_api.proto | 3 +++
docs/index.html | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/cs3/gateway/v1beta1/gateway_api.proto b/cs3/gateway/v1beta1/gateway_api.proto
index ef6b7cc7..8585316f 100644
--- a/cs3/gateway/v1beta1/gateway_api.proto
+++ b/cs3/gateway/v1beta1/gateway_api.proto
@@ -376,6 +376,9 @@ message AuthenticateRequest {
// OPTIONAL.
// The secret of the client.
string client_secret = 4;
+ // OPTIONAL.
+ // The scope of the issued token.
+ repeated string token_scope = 5;
}
message AuthenticateResponse {
diff --git a/docs/index.html b/docs/index.html
index 268ec553..cb42f26b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1846,6 +1846,14 @@ AuthenticateRequest
The secret of the client.
+
+ token_scope |
+ string |
+ repeated |
+ OPTIONAL.
+The scope of the issued token. |
+
+