class ClientCredentials in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 5.x src/Plugin/Oauth2Grant/ClientCredentials.php \Drupal\simple_oauth\Plugin\Oauth2Grant\ClientCredentials
The client credentials grant plugin.
Plugin annotation
@Oauth2Grant(
id = "client_credentials",
label = @Translation("Client Credentials")
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\simple_oauth\Plugin\Oauth2GrantBase implements Oauth2GrantInterface
- class \Drupal\simple_oauth\Plugin\Oauth2Grant\ClientCredentials
- class \Drupal\simple_oauth\Plugin\Oauth2GrantBase implements Oauth2GrantInterface
Expanded class hierarchy of ClientCredentials
File
- src/
Plugin/ Oauth2Grant/ ClientCredentials.php, line 16
Namespace
Drupal\simple_oauth\Plugin\Oauth2GrantView source
class ClientCredentials extends Oauth2GrantBase {
/**
* {@inheritdoc}
*/
public function getGrantType() {
return new ClientCredentialsOverrideGrant();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClientCredentials:: |
public | function |
Gets the grant object. Overrides Oauth2GrantInterface:: |
|
Oauth2GrantBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |
4 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |