interface OwnOrAdminConstraintInterface in Simple OAuth (OAuth2) & OpenID Connect 8
Interface OwnOrAdminConstraintInterface.
@package Drupal\simple_oauth\Plugin\Validation\Constraint
Hierarchy
- interface \Drupal\simple_oauth\Plugin\Validation\Constraint\OwnOrAdminConstraintInterface
Expanded class hierarchy of OwnOrAdminConstraintInterface
All classes that implement OwnOrAdminConstraintInterface
File
- src/
Plugin/ Validation/ Constraint/ OwnOrAdminConstraintInterface.php, line 10
Namespace
Drupal\simple_oauth\Plugin\Validation\ConstraintView source
interface OwnOrAdminConstraintInterface {
/**
* Gets the permission.
*
* @return string
* The permission.
*/
public function getPermission();
/**
* Gets the account.
*
* @return \Drupal\Core\Session\AccountInterface
* The user.
*/
public function getAccount();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OwnOrAdminConstraintInterface:: |
public | function | Gets the account. | 1 |
OwnOrAdminConstraintInterface:: |
public | function | Gets the permission. | 1 |