mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[feature/oauth] Set required scopes on more providers
PHPBB3-11673
This commit is contained in:
parent
0ebff82ad3
commit
55cdc874e6
@ -22,5 +22,13 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
class phpbb_auth_provider_oauth_service_amazon extends phpbb_auth_provider_oauth_service_base
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get_auth_scope()
|
||||
{
|
||||
return array(
|
||||
'profile',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -22,5 +22,15 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
class phpbb_auth_provider_oauth_service_paypal extends phpbb_auth_provider_oauth_service_base
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get_auth_scope()
|
||||
{
|
||||
return array(
|
||||
'openid',
|
||||
'profile',
|
||||
'email',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user