sanitizeQuery(value) {
        if (typeof value !== "object" || value === null) {
            return value;
        }
        const sanitized = {};
        for (const k of Object.keys(value)) {
            if (this.allowedQueryParameters.has(k.toLowerCase())) {
                sanitized[k] = value[k];
            }
            else {
                sanitized[k] = RedactedString;
            }
        }
        return sanitized;
    }
Generates a SHA-256 HMAC signature.
@param key - The HMAC key represented as a base64 string, used to generate the cryptographic HMAC hash.
@param stringToSign - The data to be signed.
@param encoding - The textual encoding to use for the returned HMAC digest.