You are here

public function AuthCodeRepository::getNewAuthCode in Simple OAuth (OAuth2) & OpenID Connect 5.x

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

File

src/Repositories/AuthCodeRepository.php, line 39

Class

AuthCodeRepository
The repository for the Auth Code grant.

Namespace

Drupal\simple_oauth\Repositories

Code

public function getNewAuthCode() {
  return $this
    ->getNew();
}