[英]What is the usage of OAuth 2.0 client id from Google Fit on Android
Im really confused from Google Api platform. 我真的很困惑谷歌Api平台。 Recently guide leads you to generate oAuth Client ID JSON.
最近的指南会引导您生成oAuth客户端ID JSON。 On the other hand there is no clear reason or need to generate or have at all.
另一方面,没有明确的理由或需要产生或根本没有。 Im doing these steps to enable Google Fit on Android:
我正在执行以下步骤以在Android上启用Google Fit:
but what is the usage of that Json file of OAuth Client ID 😐? 但OAuth客户端ID的Json文件的用法是什么? or that client Id?
还是那个客户端ID?
111111111111-aaaaaaaaaaaaaaa.apps.googleusercontent.com
(sample) 111111111111-aaaaaaaaaaaaaaa.apps.googleusercontent.com
(样本)
The OAuth Client ID is obtained so that your app can access the Google Fit API. 获取OAuth客户端ID,以便您的应用可以访问Google Fit API。 As the SHA-1 of your certificate is already known by Google Fit, you do not need to enter the actual Client ID into your code.
由于Google Fit已知道您的证书的SHA-1,因此您无需在代码中输入实际的客户ID。 Your certificate is part of your app, and identifies the app to Google Fit.
您的证书是您应用的一部分,并将该应用标识为Google健身。
https://developers.google.com/fit/android/get-api-key https://developers.google.com/fit/android/get-api-key
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.