App\Http\Controllers\OauthController::getAuthorizationFirst PHP Method

getAuthorizationFirst() private method

Redirect the user to the Social Media Account authentication page
private getAuthorizationFirst ( $provider ) : RedirectResponse
$provider
return Symfony\Component\HttpFoundation\RedirectResponse
    private function getAuthorizationFirst($provider)
    {
        return $this->socialite->driver($provider)->redirect();
    }