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

Method constructor

src/oauth-store.ts:43–46  ·  view source on GitHub ↗
(stateDir: string)

Source from the content-addressed store, hash-verified

41 private readonly database: DatabaseHandle;
42
43 constructor(stateDir: string) {
44 this.database = openDatabase(stateDir);
45 this.deleteExpiredTokens(Math.floor(Date.now() / 1000));
46 }
47
48 getClient(clientId: string): OAuthClientInformationFull | undefined {
49 const row = this.database.sqlite

Callers

nothing calls this directly

Calls 2

deleteExpiredTokensMethod · 0.95
openDatabaseFunction · 0.85

Tested by

no test coverage detected