Overtrue\Socialite\Providers\GitHubProvider::getRequestOptions PHP Method

getRequestOptions() protected method

Get the default options for an HTTP request.
protected getRequestOptions ( ) : array
return array
    protected function getRequestOptions()
    {
        return ['headers' => ['Accept' => 'application/vnd.github.v3+json']];
    }