You are here

public function AccessTokenRepository::revokeAccessToken in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same name and namespace in other branches
  1. 8.4 src/Repositories/AccessTokenRepository.php \Drupal\simple_oauth\Repositories\AccessTokenRepository::revokeAccessToken()
  2. 8.2 src/Repositories/AccessTokenRepository.php \Drupal\simple_oauth\Repositories\AccessTokenRepository::revokeAccessToken()
  3. 5.x src/Repositories/AccessTokenRepository.php \Drupal\simple_oauth\Repositories\AccessTokenRepository::revokeAccessToken()

File

src/Repositories/AccessTokenRepository.php, line 28

Class

AccessTokenRepository

Namespace

Drupal\simple_oauth\Repositories

Code

public function revokeAccessToken($token_id) {
  $this
    ->revoke($token_id);
}