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

Method isRefreshTokenValid

backend/api/src/auth/auth.service.ts:180–184  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

178 }
179
180 async isRefreshTokenValid(token: string): Promise<boolean> {
181 const tokenEntity =
182 await this.refreshTokenService.validateRefreshToken(token);
183 return !!tokenEntity;
184 }
185}

Callers 1

getAuthStatusMethod · 0.80

Calls 1

validateRefreshTokenMethod · 0.80

Tested by

no test coverage detected