You are here

public function RefreshTokenRepository::persistNewRefreshToken in Simple OAuth (OAuth2) & OpenID Connect 5.x

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. 8.3 src/Repositories/RefreshTokenRepository.php \Drupal\simple_oauth\Repositories\RefreshTokenRepository::persistNewRefreshToken()

File

src/Repositories/RefreshTokenRepository.php, line 46

Class

RefreshTokenRepository
The refresh token repository.

Namespace

Drupal\simple_oauth\Repositories

Code

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