SocialiteProviders\Manager\OAuth2\AbstractProvider::parseAccessToken PHP Method

parseAccessToken() protected method

Get the access token from the token response body.
protected parseAccessToken ( string $body ) : string
$body string
return string
    protected function parseAccessToken($body)
    {
        return Arr::get($body, 'access_token');
    }