| 1 | <?php |
||
| 9 | class RetryOnAuthorizationError |
||
| 10 | { |
||
| 11 | private $provider; |
||
| 12 | private $config; |
||
| 13 | private $cacheHandler; |
||
| 14 | |||
| 15 | 8 | public function __construct(OAuth2Provider $provider, array $config, AccessTokenCacheHandler $cacheHandler) |
|
| 21 | |||
| 22 | 4 | public function __invoke( |
|
| 34 | |||
| 35 | 4 | private function isUnauthorizedResponse(int $retries, ResponseInterface $response = null) |
|
| 39 | } |
||
| 40 |