Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
authclient
clients
GitHub
PHP Class yii\authclient\clients\GitHub
In order to use GitHub OAuth you must register your application at
. Example application configuration:
php 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'github' => [ 'class' => 'yii\authclient\clients\GitHub', 'clientId' => 'github_client_id', 'clientSecret' => 'github_client_secret', ], ], ] ... ]
See also:
http://developer.github.com/v3/oauth/
See also:
https://github.com/settings/applications/new
Since:
2.0
Author:
Paul Klimov (
[email protected]
)
Inheritance:
extends
yii\authclient\OAuth2
Afficher le fichier
Open project: yiisoft/yii2-authclient
Class Usage Examples
Méthodes publiques
Свойство
Type
Description
$apiBaseUrl
$authUrl
$tokenUrl
Méthodes publiques
Méthode
Description
init
( )
Méthodes protégées
Méthode
Description
defaultName
( )
defaultTitle
( )
initUserAttributes
( )
Method Details
defaultName()
protected
méthode
protected
defaultName
( )
defaultTitle()
protected
méthode
protected
defaultTitle
( )
init()
public
méthode
public
init
( )
initUserAttributes()
protected
méthode
protected
initUserAttributes
( )
Property Details
$apiBaseUrl
public_oe property
public
$apiBaseUrl
$authUrl
public_oe property
public
$authUrl
$tokenUrl
public_oe property
public
$tokenUrl