mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-21 15:13:23 +05:30
Clarified return type of validateAuthCode method
This commit is contained in:
1 parent
b15a2c09b3
commit
fdf71b758b
1 file changed
+2
-2
@@ -145,8 +145,8 @@ interface Database
|
||||
* @param string $clientId The client ID
|
||||
* @param string $redirectUri The redirect URI
|
||||
* @param string $authCode The authorisation code
|
||||
* @return array|null Returns an array if the authorisation
|
||||
* code is valid otherwise returns null
|
||||
* @return int|bool Returns the session ID if the auth code
|
||||
* is valid otherwise returns false
|
||||
*/
|
||||
public function validateAuthCode(
|
||||
$clientId,
|
||||
|
||||
Reference in new issue
Block a user