Closed bradjones1 closed 2 years ago
I think this is a bit more elegant than https://github.com/thephpleague/oauth2-server/pull/1237 - though that does include some test coverage for URIs, so we should include that here too.
Speaking of tests, it doesn't appear the failures on this PR seem to be related to my changes... but I'll have to dig deeper.
Tests are failing wth
Error: Call to undefined method LeagueTests\Stubs\GrantType::revokeRefreshTokens()
Doesn't feel related to this change but the test setup.
No this is an ongoing issue I've not bothered to resolve as will be fixed in the next major. Happy to ignore it. Sorry for any confusion there
Thanks @bradjones1 - this looks great and I'm embarrassed to say it didn't occur to me to use this library. Great find and thanks for the PR
Fixes https://github.com/thephpleague/oauth2-server/issues/1273