Plumb API key for Fresnel service authorization.
API key will be used for authenticating device with Fresnel Oneplatform API. This provides one layer of protection against unauthenticated requests. Googlers: go/cros-device-actives-client - See Authorization section Bug: 1204630 Change-Id: I9dc9ea0391edd1057bc666c2c66c95a196ad0dd1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3069422 Commit-Queue: Hirthanan Subenderan <hirthanan@google.com> Reviewed-by: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/main@{#947610}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
0f3ae90e19
commit
658abca48e
google_apis
@ -88,6 +88,9 @@ std::string GetSodaAPIKey();
|
||||
// Retrieves the ReadAloud API Key.
|
||||
std::string GetReadAloudAPIKey();
|
||||
|
||||
// Retrieves the Fresnel API Key.
|
||||
std::string GetFresnelAPIKey();
|
||||
|
||||
#if defined(OS_IOS) || defined(OS_FUCHSIA)
|
||||
// Sets the API key. This should be called as early as possible before this
|
||||
// API key is even accessed. It must be called before GetAPIKey.
|
||||
|
Reference in New Issue
Block a user