PHP 클래스 yii\authclient\clients\Google

In order to use Google OAuth you must create a project at and setup its credentials at . In order to enable using scopes for retrieving user attributes, you should also enable Google+ API at Example application configuration: php 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'google' => [ 'class' => 'yii\authclient\clients\Google', 'clientId' => 'google_client_id', 'clientSecret' => 'google_client_secret', ], ], ] ... ]
또한 보기: https://console.developers.google.com/project
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\authclient\OAuth2
파일 보기 프로젝트 열기: yiisoft/yii2-authclient 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$apiBaseUrl
$authUrl
$tokenUrl

공개 메소드들

메소드 설명
init ( )

보호된 메소드들

메소드 설명
defaultName ( )
defaultTitle ( )
initUserAttributes ( )

메소드 상세

defaultName() 보호된 메소드

protected defaultName ( )

defaultTitle() 보호된 메소드

protected defaultTitle ( )

init() 공개 메소드

public init ( )

initUserAttributes() 보호된 메소드

protected initUserAttributes ( )

프로퍼티 상세

$apiBaseUrl 공개적으로 프로퍼티

public $apiBaseUrl

$authUrl 공개적으로 프로퍼티

public $authUrl

$tokenUrl 공개적으로 프로퍼티

public $tokenUrl