You are here

public function RefreshTokenRepository::revokeRefreshToken in Simple OAuth (OAuth2) & OpenID Connect 8.2

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

File

src/Repositories/RefreshTokenRepository.php, line 33

Class

RefreshTokenRepository

Namespace

Drupal\simple_oauth\Repositories

Code

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