five-on-it / apps/api/src/oauth / purgeOAuthEvery
Function: purgeOAuthEvery()
purgeOAuthEvery(
store,now,log?): () =>void
Defined in: apps/api/src/oauth.ts:846
Forgets the expired codes, refresh tokens and grants every hour (and once at start); returns the function that stops it.
Parameters
store
now
() => Date
log?
(message) => void
Returns
() => void