Browse Source

Default name and title added to GitHub auth client.

tags/2.0.0-beta
Klimov Paul 11 years ago
parent
commit
135a191cc6
  1. 16
      extensions/yii/authclient/clients/GitHub.php

16
extensions/yii/authclient/clients/GitHub.php

@ -73,4 +73,20 @@ class GitHub extends OAuth2
{ {
return $this->api('user', 'GET'); return $this->api('user', 'GET');
} }
/**
* @inheritdoc
*/
protected function defaultName()
{
return 'github';
}
/**
* @inheritdoc
*/
protected function defaultTitle()
{
return 'GitHub';
}
} }
Loading…
Cancel
Save