Oauth2GrantBase.php in Simple OAuth (OAuth2) & OpenID Connect 5.x
File
src/Plugin/Oauth2GrantBase.php
View source
<?php
namespace Drupal\simple_oauth\Plugin;
use Drupal\Component\Plugin\PluginBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
abstract class Oauth2GrantBase extends PluginBase implements Oauth2GrantInterface {
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition);
}
}