Windows Live OAuth访问XBox Live信息 [英] Windows Live OAuth access XBox Live Info

查看:177
本文介绍了Windows Live OAuth访问XBox Live信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我正在一个网站上工作,我希望用户能够使用其xbox帐户登录以将其玩家标记链接到我的网站.我可以这样使用oauth:

So, I'm working on a website, and I want users to be able to log in with their xbox account to link their gamer tag to my site. I can use oauth like this:

但是,我不知道如何获得xbox实时权限.其他执行此操作的网站具有以下权限:

But, I can't figure out how to get xbox live permissions. Other sites that do this have permissions like this:

我如何获得此权限,该权限使我可以从xbox帐户(例如gamertag)获取信息?在权限页上,我在任何地方都看不到xbox.

How do I get this permissions which allow me to get info from an xbox account, like the gamertag? On the permissions page I don't see xbox anywhere.

推荐答案

您可以使用Xbox Live API轻松完成此操作, 注册 Xbox Live Creators计划 然后您可以直接调用Xbox Live REST端点来要求用户授权您的应用程序.

You can do this pretty easily by using Xbox Live API, Sign up for the Xbox Live Creators Program and then you can call the Xbox Live REST endpoints directly to ask the user to authorize your application.

官方API文档提供了出色的示例,可帮助您快速进步.您也可以参考 Windows UWP有关Xbox Live服务的信息,以获取一些详细信息.

The official API documentation provides excellent examples to help you progress at a quick pace. Also you can refer to Windows UWP for Xbox Live Services for some detailed info.

来源: Xbox Live Creators计划 Xbox Live API的Github存储库

这篇关于Windows Live OAuth访问XBox Live信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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