initial work on token revocation

This commit is contained in:
Cam
2024-01-25 09:55:45 -06:00
parent 00d46be77a
commit bba9377b9f
25 changed files with 1468 additions and 7 deletions

View File

@ -832,6 +832,45 @@ func init() {
}
}
},
"/resetToken": {
"post": {
"tags": [
"account"
],
"operationId": "resetToken",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"properties": {
"emailAddress": {
"type": "string"
}
}
}
}
],
"responses": {
"200": {
"description": "token reset",
"schema": {
"properties": {
"token": {
"type": "string"
}
}
}
},
"404": {
"description": "account not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/share": {
"post": {
"security": [
@ -2455,6 +2494,45 @@ func init() {
}
}
},
"/resetToken": {
"post": {
"tags": [
"account"
],
"operationId": "resetToken",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"properties": {
"emailAddress": {
"type": "string"
}
}
}
}
],
"responses": {
"200": {
"description": "token reset",
"schema": {
"properties": {
"token": {
"type": "string"
}
}
}
},
"404": {
"description": "account not found"
},
"500": {
"description": "internal server error"
}
}
}
},
"/share": {
"post": {
"security": [