File: phpbb/auth/provider/oauth/token_storage.php
Unmodified
Added
Modified
Removed
Line 12 | Line 12 |
---|
*/
namespace phpbb\auth\provider\oauth;
|
*/
namespace phpbb\auth\provider\oauth;
|
| |
use OAuth\OAuth1\Token\StdOAuth1Token; use OAuth\Common\Token\TokenInterface;
| use OAuth\OAuth1\Token\StdOAuth1Token; use OAuth\Common\Token\TokenInterface;
|
Line 117 | Line 116 |
---|
{ $service = $this->get_service_name_for_db($service);
|
{ $service = $this->get_service_name_for_db($service);
|
if ($this->cachedToken) {
| if ($this->cachedToken) {
|
return true; }
| return true; }
|
Line 232 | Line 232 |
---|
{ $service = $this->get_service_name_for_db($service);
|
{ $service = $this->get_service_name_for_db($service);
|
if ($this->cachedToken instanceof TokenInterface) {
| if ($this->cachedToken instanceof TokenInterface) {
|
return $this->cachedToken; }
| return $this->cachedToken; }
|