bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

Cron Job to clean tokens #865

Open bluebaroncanada opened 7 years ago

bluebaroncanada commented 7 years ago

@pjebs asks:

Is there any built in function that we can execute in a CRON job to clean up the databases so we can get rid of old tokens etc and any data that is no longer relevant?