You are here

public function Oauth2TokenInterface::isRevoked in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.2 src/Entity/Oauth2TokenInterface.php \Drupal\simple_oauth\Entity\Oauth2TokenInterface::isRevoked()
  2. 8.3 src/Entity/Oauth2TokenInterface.php \Drupal\simple_oauth\Entity\Oauth2TokenInterface::isRevoked()
  3. 5.x src/Entity/Oauth2TokenInterface.php \Drupal\simple_oauth\Entity\Oauth2TokenInterface::isRevoked()

Check if the token was revoked.

Return value

bool TRUE if the token is revoked. FALSE otherwise.

1 method overrides Oauth2TokenInterface::isRevoked()
Oauth2Token::isRevoked in src/Entity/Oauth2Token.php
Check if the token was revoked.

File

src/Entity/Oauth2TokenInterface.php, line 26

Class

Oauth2TokenInterface
Provides an interface defining Access Token entities.

Namespace

Drupal\simple_oauth\Entity

Code

public function isRevoked();