need refresh for logout

This commit is contained in:
Torma Kristóf 2020-11-26 01:03:04 +01:00
parent 797c570351
commit a13bb75600

View File

@ -46,6 +46,22 @@ paths:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
/api/auth/refresh:
delete:
tags:
- backend
summary: Refreshes jwt token
operationId: refreshtoken
responses:
204:
description: successful operation
401:
description: Incorrect credentials
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
/api/auth/logoff: /api/auth/logoff:
delete: delete:
tags: tags: