1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

feat: added stackoverflow class

This commit is contained in:
Christy Jacob 2019-10-13 22:05:39 +04:00
parent 490aab7bb0
commit 1d34eec44b
2 changed files with 7 additions and 9 deletions

View file

@ -5,15 +5,13 @@ namespace Auth\OAuth;
use Auth\OAuth;
// Reference Material
// https://developers.google.com/oauthplayground/
// https://developers.google.com/identity/protocols/OAuth2
// https://developers.google.com/identity/protocols/OAuth2WebServer
class Google extends OAuth
// https://api.stackexchange.com/docs/authentication
class Stackoverflow extends OAuth
{
/**
* @var string
*/
protected $version = 'v4';
// /**
// * @var string
// */
// protected $version = 'v4';
/**
* @var array
*/
@ -24,7 +22,7 @@ class Google extends OAuth
*/
public function getName(): string
{
return 'google';
return 'stackoverflow';
}
/**

View file