POST api/User/LoginApple

苹果登陆

Request Information

URI Parameters

None.

Body Parameters

AppleInfoParam
NameDescriptionTypeAdditional information
user

苹果用户唯一标识符

string

None.

state

验证信息状态

string

None.

email

用户共享的可选电子邮件

string

None.

fullname

用户全名

string

None.

authorizationcode

验证数据

string

None.

identitytoken

Web令牌(JWT)

string

None.

realuserstatus

标识用户是否为真实的人 0:当前平台不支持,忽略该值;1:无法确认;2:用户真实性非常高

string

None.

scope

返回信息作用域

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user": "sample string 1",
  "state": "sample string 2",
  "email": "sample string 3",
  "fullname": "sample string 4",
  "authorizationcode": "sample string 5",
  "identitytoken": "sample string 6",
  "realuserstatus": "sample string 7",
  "scope": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

苹果登陆

LoginModel
NameDescriptionTypeAdditional information
encryptuserinfo

加密的用户信息,注册绑定手机号码时候使用

string

None.

token

用户凭证,后续接口如需要 用户信息需要在 头信息加上 token字段 值为该参数的值

string

None.

invitationcode

自己的邀请编码

string

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "encryptuserinfo": "sample string 1",
  "token": "sample string 2",
  "invitationcode": "sample string 3",
  "code": 4,
  "msg": "sample string 5",
  "submsg": "sample string 6",
  "isinvitation": 7
}