public function generateNonce(RequestInterface $request)
    {
        return sha1(uniqid('', true) . $request->getUri()->getHost() . $request->getUri()->getPath());
    }
public function generateNonce(RequestInterface $request)
    {
        return sha1(uniqid('', true) . $request->getUri()->getHost() . $request->getUri()->getPath());
    }
public function generateNonce ( RequestInterface $ request ) { return sha1 ( uniqid ( '' , true ) . $ request -> getUri ( ) -> getHost ( ) . $ request -> getUri ( ) -> getPath ( ) ) ; }
Returns a Nonce Based on the unique id and URL.

This will allow for multiple requests in parallel with the same exact
timestamp to use separate nonce's.

@param RequestInterface $request Request to generate a nonce for

@return string
Returns a Nonce Based on the unique id and URL .