[#32] Support bearer token for all users

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-08-18 17:51:18 +03:00 committed by Kirillov Denis
parent 07786dd94b
commit e68cda7f9c
4 changed files with 64 additions and 5 deletions

View file

@ -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",