src/Entity/RefreshTokenEntity.php
public function getAccessToken()
    {
        if (! $this->accessTokenEntity instanceof AccessTokenEntity) {
            $this->accessTokenEntity = $this->server->getAccessTokenStorage()->get($this->accessTokenId);
        }

        return $this->accessTokenEntity;
    }
public function getAccessToken()
    {
        if (! $this->accessTokenEntity instanceof AccessTokenEntity) {
            $this->accessTokenEntity = $this->server->getAccessTokenStorage()->get($this->accessTokenId);
        }

        return $this->accessTokenEntity;
    }
public function getAccessToken ( ) { if ( ! $ this -> accessTokenEntity instanceof AccessTokenEntity ) { $ this -> accessTokenEntity = $ this -> server -> getAccessTokenStorage ( ) -> get ( $ this -> accessTokenId ) ; } return $ this -> accessTokenEntity ; }
Return access token

@return AccessTokenEntity
Return access token