Commit 135a191c by Klimov Paul

Default name and title added to GitHub auth client.

parent 3d59b19a
...@@ -73,4 +73,20 @@ class GitHub extends OAuth2 ...@@ -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';
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment