You are here

public function OwnOrAdminConstraintInterface::getAccount in Simple OAuth (OAuth2) & OpenID Connect 8

Gets the account.

Return value

\Drupal\Core\Session\AccountInterface The user.

1 method overrides OwnOrAdminConstraintInterface::getAccount()
OwnOrAdminConstraint::getAccount in src/Plugin/Validation/Constraint/OwnOrAdminConstraint.php
Gets the account.

File

src/Plugin/Validation/Constraint/OwnOrAdminConstraintInterface.php, line 26

Class

OwnOrAdminConstraintInterface
Interface OwnOrAdminConstraintInterface.

Namespace

Drupal\simple_oauth\Plugin\Validation\Constraint

Code

public function getAccount();