function TestAuth::authenticate

Same name and namespace in other branches
  1. 9 core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php \Drupal\rest_test\Authentication\Provider\TestAuth::authenticate()
  2. 10 core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php \Drupal\rest_test\Authentication\Provider\TestAuth::authenticate()
  3. 11.x core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php \Drupal\rest_test\Authentication\Provider\TestAuth::authenticate()

Overrides AuthenticationProviderInterface::authenticate

File

core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php, line 23

Class

TestAuth
Authentication provider for testing purposes.

Namespace

Drupal\rest_test\Authentication\Provider

Code

public function authenticate(Request $request) {
    return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.