You are here

public function Subscriber::addAuthentications in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php \Zend\Feed\PubSubHubbub\Subscriber::addAuthentications()

Add authentication credentials for hub URLs

Parameters

array $authentications:

Return value

Subscriber

1 call to Subscriber::addAuthentications()
Subscriber::setOptions in vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php
Process any injected configuration options

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php, line 404

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function addAuthentications(array $authentications) {
  foreach ($authentications as $url => $authentication) {
    $this
      ->addAuthentication($url, $authentication);
  }
  return $this;
}