| 1 |
<?php |
| 2 |
/** |
| 3 |
* This file is part of the league/oauth2-client library |
| 4 |
* |
| 5 |
* For the full copyright and license information, please view the LICENSE |
| 6 |
* file that was distributed with this source code. |
| 7 |
* |
| 8 |
* @copyright Copyright (c) Alex Bilbie <[email protected]> |
| 9 |
* @license http://opensource.org/licenses/MIT MIT |
| 10 |
* @link http://thephpleague.com/oauth2-client/ Documentation |
| 11 |
* @link https://packagist.org/packages/league/oauth2-client Packagist |
| 12 |
* @link https://github.com/thephpleague/oauth2-client GitHub |
| 13 |
*/ |
| 14 |
|
| 15 |
namespace League\OAuth2\Client\OptionProvider; |
| 16 |
|
| 17 |
/** |
| 18 |
* Interface for access token options provider |
| 19 |
*/ |
| 20 |
interface OptionProviderInterface |
| 21 |
{ |
| 22 |
/** |
| 23 |
* Builds request options used for requesting an access token. |
| 24 |
* |
| 25 |
* @param string $method |
| 26 |
* @param array $params |
| 27 |
* @return array |
| 28 |
*/ |
| 29 |
public function getAccessTokenOptions($method, array $params); |
| 30 |
} |
| 31 |
|