public function RevocableTokenRepositoryTrait::__construct 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::__construct()
- 8.3 src/Repositories/RevocableTokenRepositoryTrait.php \Drupal\simple_oauth\Repositories\RevocableTokenRepositoryTrait::__construct()
- 5.x src/Repositories/RevocableTokenRepositoryTrait.php \Drupal\simple_oauth\Repositories\RevocableTokenRepositoryTrait::__construct()
Construct a revocable token.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\simple_oauth\Normalizer\TokenEntityNormalizerInterface $normalizer:
File
- src/
Repositories/ RevocableTokenRepositoryTrait.php, line 29
Class
Namespace
Drupal\simple_oauth\RepositoriesCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, Serializer $serializer) {
$this->entityTypeManager = $entity_type_manager;
$this->serializer = $serializer;
}