Zend\Authentication\Adapter\Http::_calcOpaque
Calculate Opaque
The opaque string can be anything; the client must return it exactly as it was sent. It may be useful to store data in this string in some applications. Ideally, a new value for this would be generated each time a WWW-Authenticate header is sent (in order to reduce predictability), but we would have to be able to create the same exact value across at least two separate requests from the same client.
Signature
protected function _calcOpaque()
Returns
- string
- The opaque value