You are here

protected function ServiceResource::authenticationCollector in Services 9.0.x

Same name and namespace in other branches
  1. 8.4 src/Entity/ServiceResource.php \Drupal\services\Entity\ServiceResource::authenticationCollector()

Authentication collector.

Return value

\Drupal\Core\Authentication\AuthenticationCollectorInterface. An authentication collection object.

File

src/Entity/ServiceResource.php, line 268

Class

ServiceResource
Defines service resource entity.

Namespace

Drupal\services\Entity

Code

protected function authenticationCollector() {
  return \Drupal::service('authentication_collector');
}