MCPcopy Index your code
hub / github.com/Waishnav/devspace / deleteExpiredTokens

Method deleteExpiredTokens

src/oauth-store.ts:184–187  ·  view source on GitHub ↗
(nowSeconds: number)

Source from the content-addressed store, hash-verified

182 }
183
184 private deleteExpiredTokens(nowSeconds: number): void {
185 this.database.sqlite.prepare("delete from oauth_access_tokens where expires_at < ?").run(nowSeconds);
186 this.database.sqlite.prepare("delete from oauth_refresh_tokens where expires_at < ?").run(nowSeconds);
187 }
188}
189
190export class SqliteOAuthClientsStore implements OAuthRegisteredClientsStore {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected