Overtrue\Socialite\Providers\GitHubProvider::getRequestOptions PHP 메소드

getRequestOptions() 보호된 메소드

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