AppserverIo\Appserver\ServletEngine\Authenticator\DigestAuthenticator::getAuthenticateHeader PHP Method

getAuthenticateHeader() public method

Returns the authentication header for response to set
public getAuthenticateHeader ( ) : string
return string
    public function getAuthenticateHeader()
    {
        return $this->getType() . ' realm="' . $this->configData["realm"] . '",qop="auth",nonce="' . uniqid() . '",opaque="' . md5($this->configData["realm"]) . '"';
    }