public function store(AccessTokenResponse $accessTokenResponse) { $_SESSION['feedly_access_token'] = $accessTokenResponse->getAccessToken(); $_SESSION['feedly_access_expires'] = time() + $accessTokenResponse->getExpiresIn(); session_write_close(); }
public function store(AccessTokenResponse $accessTokenResponse) { $this->accessToken = $accessTokenResponse->getAccessToken(); }