You are here

public function AuthenticationInterface::authenticate in RESTful 7.2

Authenticate the request by trying to match a user.

Parameters

RequestInterface $request: The request.

Return value

object The user object.

4 methods override AuthenticationInterface::authenticate()
BasicAuthentication::authenticate in src/Plugin/authentication/BasicAuthentication.php
CookieAuthentication::authenticate in src/Plugin/authentication/CookieAuthentication.php
Authenticate the request by trying to match a user.
OAuth2ServerAuthentication::authenticate in src/Plugin/authentication/OAuth2ServerAuthentication.php
Authenticate the request by trying to match a user.
TokenAuthentication::authenticate in modules/restful_token_auth/src/Plugin/authentication/TokenAuthentication.php
Authenticate the request by trying to match a user.

File

src/Plugin/authentication/AuthenticationInterface.php, line 24
Contains \Drupal\restful\Plugin\authentication\Authentication

Class

AuthenticationInterface

Namespace

Drupal\restful\Plugin\authentication

Code

public function authenticate(RequestInterface $request);