Player Network 账号授权(intlAuthorize)
intlAuthorize
API 用于授权通过第三方渠道的授权信息登录 Player Network 账号。
请求参数
参数 | 类型 | 描述 | 备注 |
---|---|---|---|
third_type | string | 第三方渠道类型: apple discord epic fbInstantGame garena line ps5 steam twitch vk xbox | 必填 |
channel_info | object | 登录渠道的渠道信息 更多信息,请参见 渠道信息 | 必填 |
请求示例
accountApi.intlAuthorize({
third_type: 'facebook',
channel_info: {
access_token: "EAAI2lTrXAZBwBAC"
}
}).then(
(res) => {
console.log(res);
});