You are here

public function RefreshTokenRepository::persistNewRefreshToken in Simple OAuth (OAuth2) & OpenID Connect 8.3

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

File

src/Repositories/RefreshTokenRepository.php, line 26

Class

RefreshTokenRepository

Namespace

Drupal\simple_oauth\Repositories

Code

public function persistNewRefreshToken(RefreshTokenEntityInterface $refresh_token_entity) {
  $this
    ->persistNew($refresh_token_entity);
}