You appear to be a bot. Output may be restricted
Description
Prepares an parsed access token response for a grant.
Custom mapping of expiration, etc should be done here. Always call the parent method when overloading this method.
Usage
$array = AbstractProvider::prepareAccessTokenResponse( $result );
Parameters
- $result
- ( mixed ) required –
Returns
array
Source
File name: wordpress-seo/vendor_prefixed/league/oauth2-client/src/Provider/AbstractProvider.php
Lines:
1 to 8 of 8
protected function prepareAccessTokenResponse(array $result) { if ($this->getAccessTokenResourceOwnerId() !== null) { $result['resource_owner_id'] = $this->getValueByKey($result, $this->getAccessTokenResourceOwnerId()); } return $result; }