MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / logout

Method logout

backend/api/src/auth/auth.service.ts:164–166  ·  view source on GitHub ↗
(refreshToken: string)

Source from the content-addressed store, hash-verified

162 }
163
164 async logout(refreshToken: string) {
165 await this.refreshTokenService.revokeToken(refreshToken);
166 }
167
168 async logoutAllDevices(userId: string) {
169 await this.refreshTokenService.revokeAllUserTokens(userId);

Callers 2

Calls 1

revokeTokenMethod · 0.80

Tested by

no test coverage detected