如何为OAuth生成访问令牌 [英] how to generate access token for OAuth

查看:121
本文介绍了如何为OAuth生成访问令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

目前我正在开发Google分析报告服务项目。我在Google控制台开发人员上创建了一个项目。我得到了我的客户端和客户端保密,我认为我的应用程序需要访问令牌进行身份验证。我被困在这里。请帮助。

解决方案

请参阅有关使用OAuth 2.0的文档访问Google API [ ^ ]。找到符合您要求的方案,逐步完成流程,并获取相关 Google API客户端库的副本 [ ^ ]并了解示例代码。

Hello,
Currently I am working on a project Google analytics Report service. I have created a project on Google console developer. I got my client I'd and client secret to Authentic ate my application I require access token for authentication. I am stuck here. Please help.

解决方案

Refer to the documentation on Using OAuth 2.0 to Access Google APIs[^]. Find the scenario that fits your requirements, step through the flow, and get a copy of the relevant Google API Client Library[^] and learn the sample codes.


这篇关于如何为OAuth生成访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆