You are here

public function Oauth2ClientPluginInterface::getGrantType in OAuth2 Client 8.3

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

Retrieves the grant type of the plugin.

Return value

string Possible values:

  • authorization_code
  • client_credentials
  • refresh_token
  • resource_owner
1 method overrides Oauth2ClientPluginInterface::getGrantType()
Oauth2ClientPluginBase::getGrantType in src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php
Retrieves the grant type of the plugin.

File

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

Class

Oauth2ClientPluginInterface
Interface for Oauth2 Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getGrantType();