AuthenticationMethodInterface
in
The authentication method interface.
Table of Contents
- authorizeRequest() : Request
- This is called right before sending the HTTP request.
Methods
authorizeRequest()
This is called right before sending the HTTP request.
public
authorizeRequest(HapiClient $hapiClient, Request $request) : Request
Parameters
- $hapiClient : HapiClient
-
The client used to send the request
- $request : Request
-
The request before it is sent
Tags
Return values
Request —the same Request with the authorization Headers