interface Oauth2GrantInterface in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface
- 8.3 src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface
- 5.x src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface
Defines an interface for OAuth2 Grant plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- interface \Drupal\simple_oauth\Plugin\Oauth2GrantInterface
Expanded class hierarchy of Oauth2GrantInterface
All classes that implement Oauth2GrantInterface
File
- src/
Plugin/ Oauth2GrantInterface.php, line 11
Namespace
Drupal\simple_oauth\PluginView source
interface Oauth2GrantInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {
/**
* Gets the grant object.
*
* @return League\OAuth2\Server\Grant\GrantTypeInterface
* The grant type.
*/
public function getGrantType();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
Oauth2GrantInterface:: |
public | function | Gets the grant object. | 5 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |