bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

AccessTokenInterface, AuthorizationCodeInterface, RefreshTokenInterface #820

Open pjebs opened 7 years ago

pjebs commented 7 years ago

In the PDO.php storage, the AccessTokenInterface, AuthorizationCodeInterface and RefreshTokenInterface implentation returns false if the tokens/codes aren't found. The interface specifies that they should return null.

However, in practice, everything works as intended - but I feel it is by 'coincidence' rather than design.