Auth

退出登录:根据当前请求的 sessionId(由 JwtSessionIdFilter 注入)清理 Redis 中的登录/会话凭证,使该 JWT 事实失效。

Changed on
post/api/auth/logout

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none required

Response

Successful HTTP response; legacy business endpoints may return success=false in this envelope, while social endpoints use matching 4xx/5xx statuses

codeinteger
dataobject nullable
errorCodestring
messagestring
successboolean

Changes

    • info

      api operation id AuthController_logout_post__api_auth_logout was added

    • info

      api tag Auth added

    • info

      api tag auth removed

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status