@@ -160,52 +160,13 @@ paths:
160160 type : string
161161 description : The new and fresh access token
162162 example : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDAzMjYzMjksIm5iZiI6MTYwMDMyNjMyOSwianRpIjoiZTA0ZWQ3NmMtMTcxMC00ZjQ4LWFkNzMtZDBmOTMxZTkxNzM0IiwiZXhwIjoxNjAwMzI3MjI5LCJpZGVudGl0eSI6eyJpZCI6MSwiZW1haWwiOiJmb29AZXhhbXBsZS5vcmciLCJ1c2VybmFtZSI6ImZvbyIsImlzX29ubGluZSI6MCwiZGF0ZV9sYXN0c2VlbiI6IldlZCwgMTYgU2VwIDIwMjAgMTU6Mzk6MDQgR01UIn0sImZyZXNoIjpmYWxzZSwidHlwZSI6ImFjY2VzcyJ9.dFJMy-04thKA9Q268bgQhiqLDrkqnCOCaiwHJ1XXook
163- /auth/access_revoke :
163+ /auth/logout :
164164 post :
165165 tags :
166166 - Authentication
167- summary : Revokes the access token
167+ summary : Logout user
168168 description : " "
169- operationId : revokeAccessToken
170- security :
171- - accessToken : [ ]
172- responses :
173- " 409 " :
174- description : Unauthorized error, token already revoked.
175- content :
176- application/json :
177- schema :
178- type : object
179- properties :
180- msg :
181- type : string
182- example : Token has been revoked
183- default : Token has been revoked
184- " 200 " :
185- description : Token successfully revoked
186- content :
187- application/json :
188- schema :
189- type : object
190- properties :
191- success :
192- type : boolean
193- description : If the request is a success
194- example : true
195- code :
196- type : integer
197- description : The status code
198- example : 200
199- message :
200- type : string
201- example : Access token revoked
202- /auth/refresh_revoke :
203- post :
204- tags :
205- - Authentication
206- summary : Revokes the refresh token
207- description : " "
208- operationId : revokeRefreshToken
169+ operationId : logoutUser
209170 security :
210171 - refreshToken : [ ]
211172 responses :
@@ -221,7 +182,7 @@ paths:
221182 example : Token has been revoked
222183 default : Token has been revoked
223184 " 200 " :
224- description : Token successfully revoked
185+ description : Logout successful.
225186 content :
226187 application/json :
227188 schema :
@@ -237,7 +198,7 @@ paths:
237198 example : 200
238199 message :
239200 type : string
240- example : Refresh token revoked
201+ example : Logout successful.
241202 /auth/confirm/{token} :
242203 post :
243204 summary : Confirm a user with a token
0 commit comments