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
Namespace
Drupal\restful\Plugin\authenticationCode
public function authenticate(RequestInterface $request);