protected function Subscriber::_generateVerifyToken in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php \Zend\Feed\PubSubHubbub\Subscriber::_generateVerifyToken()
Simple helper to generate a verification token used in (un)subscribe requests to a Hub Server. Follows no particular method, which means it might be improved/changed in future.
Return value
string
1 call to Subscriber::_generateVerifyToken()
- Subscriber::_getRequestParameters in vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Subscriber.php - Return a list of standard protocol/optional parameters for addition to client's POST body that are specific to the current Hub Server URL
File
- vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Subscriber.php, line 757
Class
Namespace
Zend\Feed\PubSubHubbubCode
protected function _generateVerifyToken() {
if (!empty($this->testStaticToken)) {
return $this->testStaticToken;
}
return uniqid(rand(), true) . time();
}