go-oauth2/oauth2

There is no method provided to clean up the specified clientid in the clientstore.

Christian-health opened this issue · 0 comments

https://github.com/go-oauth2/oauth2/blob/master/store/client.go

There is no method provided to clean up the specified clientid in the clientstore.
How can I clean it up?
Continuously adding clientid to clientstore will cause a lot of memory usage.

没有提供清理ClientStore中指定clientid的方法。如何才能清理掉?不停的添加clientid到clientstore,将导致大量内内存的占用。一个过期的。无效的clientId仍然会被存放到ClientStore中无法清理掉。