PHP 클래스 yii\authclient\clients\GoogleHybrid

Example application configuration: php 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'google' => [ 'class' => 'yii\authclient\clients\GoogleHybrid', 'clientId' => 'google_client_id', 'clientSecret' => 'google_client_secret', ], ], ] ... ] JavaScript button itself generated by [[yii\authclient\widgets\GooglePlusButton]] widget. If you are using [[yii\authclient\widgets\AuthChoice]] it will appear automatically. Otherwise you need to add it into your page manually. You may customize its appearance using 'widget' key at [[viewOptions]]: php 'google' => [ ... 'viewOptions' => [ 'widget' => [ 'class' => 'yii\authclient\widgets\GooglePlusButton', 'buttonHtmlOptions' => [ 'data-approvalprompt' => 'force' ], ], ], ],
또한 보기: Google
또한 보기: yii\authclient\widgets\GooglePlusButton
또한 보기: https://developers.google.com/+/web/signin
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends Google
파일 보기 프로젝트 열기: yiisoft/yii2-authclient 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$validateAuthState

보호된 메소드들

메소드 설명
defaultReturnUrl ( )
defaultViewOptions ( )

메소드 상세

defaultReturnUrl() 보호된 메소드

protected defaultReturnUrl ( )

defaultViewOptions() 보호된 메소드

protected defaultViewOptions ( )

프로퍼티 상세

$validateAuthState 공개적으로 프로퍼티

public $validateAuthState