MCPcopy Create free account
hub / github.com/baiwumm/react-admin / logout

Method logout

Xmw_server/src/modules/auth/auth.controller.ts:85–88  ·  view source on GitHub ↗
(@Session() session: SessionTypes)

Source from the content-addressed store, hash-verified

83 @ApiOkResponse({ type: ResponseDto })
84 @ApiOperation({ summary: '退出登录' })
85 async logout(@Session() session: SessionTypes) {
86 const response = await this.authService.logout(session);
87 return response;
88 }
89
90 /**
91 * @description: 获取当前用户信息

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected