mirror of
https://github.com/openziti/zrok.git
synced 2025-08-17 11:21:07 +02:00
initial testing for oauth protecting shares
This commit is contained in:
@ -702,6 +702,33 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/oauth/authorize": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"share"
|
||||
],
|
||||
"operationId": "oauthAuthenticate",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "state",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "code",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "testing"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/overview": {
|
||||
"get": {
|
||||
"security": [
|
||||
@ -865,6 +892,9 @@ func init() {
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Unprocessable entity. Incorrect enum?"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
@ -1483,6 +1513,18 @@ func init() {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"oauthEmailDomains": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"oauthProvider": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"amazon"
|
||||
]
|
||||
},
|
||||
"reserved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@ -2298,6 +2340,33 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/oauth/authorize": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"share"
|
||||
],
|
||||
"operationId": "oauthAuthenticate",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "state",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "code",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "testing"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/overview": {
|
||||
"get": {
|
||||
"security": [
|
||||
@ -2461,6 +2530,9 @@ func init() {
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Unprocessable entity. Incorrect enum?"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error",
|
||||
"schema": {
|
||||
@ -3079,6 +3151,18 @@ func init() {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"oauthEmailDomains": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"oauthProvider": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"amazon"
|
||||
]
|
||||
},
|
||||
"reserved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
Reference in New Issue
Block a user