TokenAuthorization
in
Interface used to provide interchangeable strategies for adding authorization to requests using the various AWS signature protocols.
Table of Contents
Methods
- authorizeRequest() : RequestInterface
- Adds the specified token to a request by adding the required headers.
Methods
authorizeRequest()
Adds the specified token to a request by adding the required headers.
public
authorizeRequest(RequestInterface $request, TokenInterface $token) : RequestInterface
Parameters
- $request : RequestInterface
-
Request to sign
- $token : TokenInterface
-
Token
Return values
RequestInterface —Returns the modified request.