interface ProviderInterface in Authorization 8
Defines an interface for Authorization provider plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- interface \Drupal\authorization\Plugin\ConfigurableAuthorizationPluginInterface
- interface \Drupal\authorization\Provider\ProviderInterface
- interface \Drupal\authorization\Plugin\ConfigurableAuthorizationPluginInterface
Expanded class hierarchy of ProviderInterface
All classes that implement ProviderInterface
File
- src/
Provider/ ProviderInterface.php, line 13
Namespace
Drupal\authorization\ProviderView source
interface ProviderInterface extends ConfigurableAuthorizationPluginInterface {
/**
* Provider-side filtering.
*
* @param array $proposals
* Available proposals.
* @param array $providerMapping
* What the proposal should be filtered against in the provider.
*
* @return array
* Filtered proposals.
*/
public function filterProposals(array $proposals, array $providerMapping) : array;
/**
* Get the proposals for this users.
*
* @param \Drupal\user\UserInterface $user
* The user to act upon.
*
* @return array
* Relevant proposals.
*/
public function getProposals(UserInterface $user) : array;
/**
* Sanitize proposals.
*
* @param array $proposals
* Raw proposals.
*
* @return array
* Processed proposals.
*/
public function sanitizeProposals(array $proposals) : array;
/**
* Provides sync on logon.
*
* @return bool
* Sync on logon supported.
*/
public function isSyncOnLogonSupported() : bool;
/**
* Provides revocation.
*
* @return bool
* Revocation supported.
*/
public function revocationSupported() : bool;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableAuthorizationPluginInterface:: |
public | function | Builds the authorization row description. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Builds the authorization form row. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Returns the plugin's description. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Tokens for the relevant plugin. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Returns the label for use on the administration pages. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Submits the authorization form row. | 1 |
ConfigurableAuthorizationPluginInterface:: |
public | function | Validates the authorization form row. | 1 |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
ProviderInterface:: |
public | function | Provider-side filtering. | 1 |
ProviderInterface:: |
public | function | Get the proposals for this users. | 1 |
ProviderInterface:: |
public | function | Provides sync on logon. | 1 |
ProviderInterface:: |
public | function | Provides revocation. | 1 |
ProviderInterface:: |
public | function | Sanitize proposals. | 1 |