You are here

public function AuthCodeRepository::persistNewAuthCode in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 5.x src/Repositories/AuthCodeRepository.php \Drupal\simple_oauth\Repositories\AuthCodeRepository::persistNewAuthCode()

File

src/Repositories/AuthCodeRepository.php, line 46

Class

AuthCodeRepository
The repository for the Auth Code grant.

Namespace

Drupal\simple_oauth\Repositories

Code

public function persistNewAuthCode(AuthCodeEntityInterface $auth_code_entity) {
  $this
    ->persistNew($auth_code_entity);
}