public function RevocableTokenRepositoryTrait::getNew in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same name and namespace in other branches
- 8.4 src/Repositories/RevocableTokenRepositoryTrait.php \Drupal\simple_oauth\Repositories\RevocableTokenRepositoryTrait::getNew()
- 8.3 src/Repositories/RevocableTokenRepositoryTrait.php \Drupal\simple_oauth\Repositories\RevocableTokenRepositoryTrait::getNew()
- 5.x src/Repositories/RevocableTokenRepositoryTrait.php \Drupal\simple_oauth\Repositories\RevocableTokenRepositoryTrait::getNew()
2 calls to RevocableTokenRepositoryTrait::getNew()
- AuthCodeRepository::getNewAuthCode in simple_oauth_extras/
src/ Repositories/ AuthCodeRepository.php - RefreshTokenRepository::getNewRefreshToken in src/
Repositories/ RefreshTokenRepository.php
File
- src/
Repositories/ RevocableTokenRepositoryTrait.php, line 82
Class
Namespace
Drupal\simple_oauth\RepositoriesCode
public function getNew() {
$class = static::$entity_class;
return new $class();
}