Pass a query secret for validation. The error message will include the 'query_id', so that must also be passed.
| 1370 | /// Pass a query secret for validation. The error message will include the 'query_id', |
| 1371 | /// so that must also be passed. |
| 1372 | static SecretArg Operation(const TUniqueId& secret, const TUniqueId& query_id) { |
| 1373 | return SecretArg(false, false, secret, query_id); |
| 1374 | } |
| 1375 | |
| 1376 | /// Return true iff the check should be skipped or the secret matches 'other'. |
| 1377 | /// All validation should be done via this function to avoid subtle errors. |
no test coverage detected