Oauth2GrantInterface.php in Simple OAuth (OAuth2) & OpenID Connect 5.x
Same filename and directory in other branches
Namespace
Drupal\simple_oauth\PluginFile
src/Plugin/Oauth2GrantInterface.phpView source
<?php
namespace Drupal\simple_oauth\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
/**
* Defines an interface for OAuth2 Grant plugins.
*/
interface Oauth2GrantInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {
/**
* Gets the grant object.
*
* @return League\OAuth2\Server\Grant\GrantTypeInterface
* The grant type.
*/
public function getGrantType();
}
Interfaces
Name | Description |
---|---|
Oauth2GrantInterface | Defines an interface for OAuth2 Grant plugins. |