PHP 클래스 Mmanos\Social\SocialController

저자: Mark Manos
상속: extends Illuminate\Routing\Controller
파일 보기 프로젝트 열기: mmanos/laravel-social

공개 메소드들

메소드 설명
getComplete ( ) : Illuminate\Support\Facades\View Complete login action.
getConnect ( string $provider = null ) : mixed Connect action.
getLogin ( string $provider = null ) : mixed Login action.
postComplete ( ) : Illuminate\Support\Facades\Redirect Handle the complete login form submission.

보호된 메소드들

메소드 설명
linkProvider ( integer $user_id, string $provider, integer $provider_id, array $access_token ) : Provider Link the give user to the given provider.
oauth1Connect ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect Login to an OAuth1 consumer.
oauth1Login ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect Login to an OAuth1 consumer.
oauth2Connect ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect Login to an OAuth2 service.
oauth2Login ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect Login to an OAuth2 service.
processConnect ( string $provider, OAuth\Common\Service\AbstractService $service, array $access_token ) : Illuminate\Support\Facades\Redirect Process the response from a provider connect attempt.
processLogin ( string $provider, OAuth\Common\Service\AbstractService $service, array $access_token ) : Illuminate\Support\Facades\Redirect Process the response from a provider login attempt.

메소드 상세

getComplete() 공개 메소드

Complete login action.
public getComplete ( ) : Illuminate\Support\Facades\View
리턴 Illuminate\Support\Facades\View

getConnect() 공개 메소드

Connect action.
public getConnect ( string $provider = null ) : mixed
$provider string
리턴 mixed

getLogin() 공개 메소드

Login action.
public getLogin ( string $provider = null ) : mixed
$provider string
리턴 mixed

linkProvider() 보호된 메소드

Link the give user to the given provider.
protected linkProvider ( integer $user_id, string $provider, integer $provider_id, array $access_token ) : Provider
$user_id integer
$provider string
$provider_id integer
$access_token array
리턴 Provider

oauth1Connect() 보호된 메소드

Login to an OAuth1 consumer.
protected oauth1Connect ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
리턴 Illuminate\Support\Facades\Redirect

oauth1Login() 보호된 메소드

Login to an OAuth1 consumer.
protected oauth1Login ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
리턴 Illuminate\Support\Facades\Redirect

oauth2Connect() 보호된 메소드

Login to an OAuth2 service.
protected oauth2Connect ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
리턴 Illuminate\Support\Facades\Redirect

oauth2Login() 보호된 메소드

Login to an OAuth2 service.
protected oauth2Login ( string $provider, OAuth\Common\Service\AbstractService $service ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
리턴 Illuminate\Support\Facades\Redirect

postComplete() 공개 메소드

Handle the complete login form submission.
public postComplete ( ) : Illuminate\Support\Facades\Redirect
리턴 Illuminate\Support\Facades\Redirect

processConnect() 보호된 메소드

Process the response from a provider connect attempt.
protected processConnect ( string $provider, OAuth\Common\Service\AbstractService $service, array $access_token ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
$access_token array
리턴 Illuminate\Support\Facades\Redirect

processLogin() 보호된 메소드

Process the response from a provider login attempt.
protected processLogin ( string $provider, OAuth\Common\Service\AbstractService $service, array $access_token ) : Illuminate\Support\Facades\Redirect
$provider string
$service OAuth\Common\Service\AbstractService
$access_token array
리턴 Illuminate\Support\Facades\Redirect