You are here

public function Oauth2ClientPluginBase::getResourceUri in OAuth2 Client 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php \Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginBase::getResourceUri()

Retrieves the resource_uri of the OAuth2 server.

Return value

string The resource_uri of the OAuth2 server.

Overrides Oauth2ClientPluginInterface::getResourceUri

File

src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php, line 367

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getResourceUri() {
  $this
    ->checkKeyDefined('resource_owner_uri');
  return $this->pluginDefinition['resource_owner_uri'];
}