You are here

public function AccessTokenRepository::persistNewAccessToken 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::persistNewAccessToken()
  2. 8.2 src/Repositories/AccessTokenRepository.php \Drupal\simple_oauth\Repositories\AccessTokenRepository::persistNewAccessToken()
  3. 5.x src/Repositories/AccessTokenRepository.php \Drupal\simple_oauth\Repositories\AccessTokenRepository::persistNewAccessToken()

File

src/Repositories/AccessTokenRepository.php, line 21

Class

AccessTokenRepository

Namespace

Drupal\simple_oauth\Repositories

Code

public function persistNewAccessToken(AccessTokenEntityInterface $access_token_entity) {
  $this
    ->persistNew($access_token_entity);
}