thephpleague / oauth2-server

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

Change visibility of `AuthCodeGrant::validateAuthorizationCode()` (#1199) #1200

Closed GameplayJDK closed 3 years ago

GameplayJDK commented 3 years ago

Currently the method is private, which means there is no way to alter (extend or change) the validation logic for the auth code, for example in a sub-class of AuthCode.

In addition, add a @throws tag to the method for OAuthServerException.

See #1199 for reference.

Sephster commented 3 years ago

Not going to implement this at this time as per discussion in #1199