Class SignatureListener
Listener used to sign requests before they are sent over the wire
- Aws\Common\Signature\SignatureListener implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Methods summary
-
public
__construct ( Aws\Common\Credentials\CredentialsInterface $credentials, Aws\Common\Signature\SignatureInterface $signature )
Construct a new request signing plugin
-
public static
getSubscribedEvents ( )
-
public
onCredentialsChanged ( Guzzle\Common\Event $event )
Updates the listener with new credentials if the client is updated
-
public
onRequestBeforeSend ( Guzzle\Common\Event $event )
Signs requests before they are sent
Methods detail
#
public
__construct( Aws\Common\Credentials\CredentialsInterface
$credentials, Aws\Common\Signature\SignatureInterface
$signature )
Construct a new request signing plugin
Parameters
- $credentials
Aws\Common\Credentials\CredentialsInterface
$credentials Credentials used to sign requests- $signature
Aws\Common\Signature\SignatureInterface
$signature Signature implementation
Updates the listener with new credentials if the client is updated
Parameters
- $event
Guzzle\Common\Event
$event Event emitted
Magic methods summary
Properties summary
protected
|
$credentials | |
protected
|
$signature |