Closed bdegoy closed 5 years ago
I have left this to the implementations, as a simple delete query will take care of this. However, if you'd like to add a function implementation such as clearAllExpiredTokens
onto the storage classes, I would be happy to accept it. But in general I do not consider this as an important feature.
Ok, I agree. Any how you are the boss :)
Hi, I noticed that authorization_codes table was growing regularly. In normal situation, data is erased by AuthorizationCode::expireAuthorizationCode right after successflul token exchange. If for any reason authorization code expires before token exchange a line of data remains in table. It happens when I am in step-to-step debugging. Maybe it's not very important.