You are here

public function HttpClientAuthentication::authenticate in Http Client 7.2

Same name and namespace in other branches
  1. 6.2 includes/HttpClient.inc \HttpClientAuthentication::authenticate()

Used by the HttpClient to authenticate requests.

Parameters

HttpClientRequest $request:

Return value

void

3 methods override HttpClientAuthentication::authenticate()
HttpClientBasicAuth::authenticate in includes/auth/basic/HttpClientBasicAuth.inc
Used by the HttpClient to authenticate requests.
HttpClientOAuth2::authenticate in includes/auth/oauth2/HttpClientOAuth2.inc
Gets an access_token from the oauth2 client and sets it to the $request.
HttpClientOAuth::authenticate in includes/auth/oauth/HttpClientOAuth.inc
Used by the HttpClient to authenticate requests.

File

includes/HttpClient.inc, line 525

Class

HttpClientAuthentication
Interface that should be implemented by classes that provides a authentication method for the http client.

Code

public function authenticate($request);