You are here

protected function ServiceResource::authenticationCollector in Services 8.4

Same name and namespace in other branches
  1. 9.0.x 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');
}