(nowSeconds: number)
| 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 | |
| 190 | export class SqliteOAuthClientsStore implements OAuthRegisteredClientsStore { |