From 29ee2fa673e35684ab5f8a61176a767beedeacac Mon Sep 17 00:00:00 2001 From: Holden Warriner Date: Thu, 29 Aug 2024 09:50:18 -0400 Subject: [PATCH] Clarify return value in device auth fn comment (#3849) b/341795489 --- cobalt/browser/device_authentication.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cobalt/browser/device_authentication.h b/cobalt/browser/device_authentication.h index 382938d51b26..142b6a547557 100644 --- a/cobalt/browser/device_authentication.h +++ b/cobalt/browser/device_authentication.h @@ -24,7 +24,10 @@ namespace cobalt { namespace browser { // Returns a base64 encoded SHA256 hash representing the device authentication -// signature based on the device certification scope and the current time. +// signature, the device certification scope, and the current time as query +// parameters in a string. The signature is the result of signing a message, +// containing the certification scope and the current time, with a secret key +// provided by the device. std::string GetDeviceAuthenticationSignedURLQueryString(); // The following methods are deterministic helper functions used in the