Skip to content

Commit

Permalink
Add token scope field to gateway authenticate requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Apr 27, 2021
1 parent 62377dd commit 606f529
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cs3/gateway/v1beta1/gateway_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 8 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1846,6 +1846,14 @@ <h3 id="cs3.gateway.v1beta1.AuthenticateRequest">AuthenticateRequest</h3>
The secret of the client. </p></td>
</tr>

<tr>
<td>token_scope</td>
<td><a href="#string">string</a></td>
<td>repeated</td>
<td><p>OPTIONAL.
The scope of the issued token. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 606f529

Please sign in to comment.