forked from TrueCloudLab/frostfs-rest-gw
[#32] Support bearer token for all users
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
07786dd94b
commit
e68cda7f9c
4 changed files with 64 additions and 5 deletions
|
@ -95,6 +95,13 @@ func init() {
|
|||
"name": "X-Bearer-Lifetime",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Form token for all users or only for this gate.",
|
||||
"name": "X-Bearer-For-All-Users",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"description": "Bearer tokens to form.",
|
||||
"name": "tokens",
|
||||
|
@ -1689,6 +1696,13 @@ func init() {
|
|||
"name": "X-Bearer-Lifetime",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Form token for all users or only for this gate.",
|
||||
"name": "X-Bearer-For-All-Users",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"description": "Bearer tokens to form.",
|
||||
"name": "tokens",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue