injected service use to handle the refresh token related operations
injected logger used to handle the logging
request context [headers, body, params, query].
204 Status No Content
This handler will create logout by applying the following steps in sequence:
Get userId from context
Get cookies from request
Set cookie maxAge to 0
Delete refresh token from refresh token service (refreshTokenService.deleteRefreshToken)
Note: This handler only handle when use cookie authType
400 NBError Bad Request
500 NBError Internal Server Error
Generated using TypeDoc
Create logout handler