need refresh for logout
This commit is contained in:
parent
797c570351
commit
a13bb75600
16
backend.yml
16
backend.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user