initial testing for oauth protecting shares

This commit is contained in:
Cam Otts
2023-02-22 09:37:07 -06:00
committed by Ziti-Ci
parent 29b87571cb
commit a8c76b2877
25 changed files with 1078 additions and 18 deletions

View File

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