You are here

public function TokenAuthUser::getConfigDependencyKey in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getConfigDependencyKey()
  2. 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getConfigDependencyKey()
  3. 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getConfigDependencyKey()
  4. 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getConfigDependencyKey()

Gets the key that is used to store configuration dependencies.

Return value

string The key to be used in configuration dependencies when storing dependencies on entities of this type.

Overrides EntityInterface::getConfigDependencyKey

See also

\Drupal\Core\Entity\EntityTypeInterface::getConfigDependencyKey()

File

src/Authentication/TokenAuthUser.php, line 482

Class

TokenAuthUser
The decorated user class with token information.

Namespace

Drupal\simple_oauth\Authentication

Code

public function getConfigDependencyKey() {
  return $this->subject
    ->getConfigDependencyKey();
}