18 private $authenticationChain = [];
23 public function __construct(array $authenticationChain = [])
25 foreach ($authenticationChain as $authentication) {
27 throw new \InvalidArgumentException(
28 'Members of the authentication chain must be of type Http\Message\Authentication'
33 $this->authenticationChain = $authenticationChain;
41 foreach ($this->authenticationChain as $authentication) {
42 $request = $authentication->authenticate($request);