Class OAuth2Plugin put Authorization header at Guzzle client
| package | Ant\Guzzle\Plugin |
|---|
__construct(array $config)
arrayThe config values, this plugin accept key token_type and access_token value
getSubscribedEvents() : array
arrayThe event names to listen toonRequestBeforeSend(\Guzzle\Common\Event $event) : string
updateAccessToken(string $acces_token)
stringThe token value