feat: added stackoverflow class
This commit is contained in:
parent
490aab7bb0
commit
1d34eec44b
2 changed files with 7 additions and 9 deletions
|
@ -5,15 +5,13 @@ namespace Auth\OAuth;
|
||||||
use Auth\OAuth;
|
use Auth\OAuth;
|
||||||
|
|
||||||
// Reference Material
|
// Reference Material
|
||||||
// https://developers.google.com/oauthplayground/
|
// https://api.stackexchange.com/docs/authentication
|
||||||
// https://developers.google.com/identity/protocols/OAuth2
|
class Stackoverflow extends OAuth
|
||||||
// https://developers.google.com/identity/protocols/OAuth2WebServer
|
|
||||||
class Google extends OAuth
|
|
||||||
{
|
{
|
||||||
/**
|
// /**
|
||||||
* @var string
|
// * @var string
|
||||||
*/
|
// */
|
||||||
protected $version = 'v4';
|
// protected $version = 'v4';
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +22,7 @@ class Google extends OAuth
|
||||||
*/
|
*/
|
||||||
public function getName(): string
|
public function getName(): string
|
||||||
{
|
{
|
||||||
return 'google';
|
return 'stackoverflow';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
0
src/Auth/OAuth/Stackoverflow.php
Normal file
0
src/Auth/OAuth/Stackoverflow.php
Normal file
Loading…
Reference in a new issue