phpBB

Code Changes

File: phpbb/auth/provider/oauth/token_storage.php

  Unmodified   Added   Modified   Removed
Line 12Line 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 117Line 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 232Line 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;
}