Overtrue\Socialite\Providers\GitHubProvider::getRequestOptions PHP Méthode

getRequestOptions() protected méthode

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