Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
- Added missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Mar 6, 2015
1 parent 608760e commit fb8efeb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/IPub/Flickr/ApiCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ public function getConsumer()
return $this->consumer;
}

/**
* Determines the access token that should be used for API calls.
* The first time this is called, $this->accessToken is set equal
* to either a valid user access token, or it's set to the application
* access token if a valid user access token wasn't available. Subsequent
* calls return whatever the first call returned.
*
* @return OAuth\Token The access token
*/
abstract public function getAccessToken();

/**
* @param string $path
* @param array $params
Expand Down

0 comments on commit fb8efeb

Please sign in to comment.