for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Alex Bilbie <[email protected]>
* @copyright Copyright (c) Alex Bilbie
* @license http://mit-license.org/
*
* @link https://github.com/thephpleague/oauth2-server
*/
declare(strict_types=1);
namespace League\OAuth2\Server\Entities\Traits;
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
trait RefreshTokenTrait
{
protected AccessTokenEntityInterface $accessToken;
* {@inheritdoc}
public function setAccessToken(AccessTokenEntityInterface $accessToken): void
$this->accessToken = $accessToken;
}
public function getAccessToken(): AccessTokenEntityInterface
return $this->accessToken;