You are here

public function AuthCodeRepository::revokeAuthCode 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::revokeAuthCode()

File

src/Repositories/AuthCodeRepository.php, line 53

Class

AuthCodeRepository
The repository for the Auth Code grant.

Namespace

Drupal\simple_oauth\Repositories

Code

public function revokeAuthCode($code_id) {
  $this
    ->revoke($code_id);
}