You are here

public function AuthCodeRepository::isAuthCodeRevoked in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same name and namespace in other branches
  1. 8.4 src/Repositories/AuthCodeRepository.php \Drupal\simple_oauth\Repositories\AuthCodeRepository::isAuthCodeRevoked()

File

src/Repositories/AuthCodeRepository.php, line 60

Class

AuthCodeRepository
The repository for the Auth Code grant.

Namespace

Drupal\simple_oauth\Repositories

Code

public function isAuthCodeRevoked($code_id) {
  return $this
    ->isRevoked($code_id);
}