thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.51k stars 1.12k forks source link

Allow token and auth code life times to be defined per client. #1259

Closed jbaron-gingco closed 2 years ago

jbaron-gingco commented 2 years ago

I've implemented it this way to break as few things as possible. It still requires a new major version, since all client entities out there need three new methods.

eugene-borovov commented 2 years ago

I`d suggested to add to ClientTrait default behavior.

Sephster commented 2 years ago

For the reasons noted in the associated issue #1258 we will not be merging in this PR at this time. Thank you very much for your efforts though and sorry we didn't proceed with a merge on this occasion.