You are here

public function Oauth2ClientPluginInterface::getScopes in OAuth2 Client 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Oauth2Client/Oauth2ClientPluginInterface.php \Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginInterface::getScopes()

Get the set of scopes for the provider to use by default.

Return value

array|string|null The list of scopes for the provider to use.

1 method overrides Oauth2ClientPluginInterface::getScopes()
Oauth2ClientPluginBase::getScopes in src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php
Get the set of scopes for the provider to use by default.

File

src/Plugin/Oauth2Client/Oauth2ClientPluginInterface.php, line 95

Class

Oauth2ClientPluginInterface
Interface for Oauth2 Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getScopes();