请求客户ticket校验url
GET
https://{third_ticket}moka会请求该url来获取用户信息
HTTP 接口 GET https://www.third.com/ticket
请求参数
Path 参数
third_ticket
string
必需
示例值:
{{url}}
Query 参数
service
回调地址URL。
ticket
必需
客户登录成功后跳转moka登录url时携带的参数。
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: XMLapplication/xml
数据结构
user
string
必需
用户信息的唯一标识。推荐使用邮箱
name
string
必需
用户的姓名。用户名为空,默认使用邮箱前缀作为用户名
email
string
用户的邮箱
phone
string
用户的电话
示例
<cas:serviceResponse xmlns:cas="https://www.third.com/login">
<cas:authenticationSuccess>
<cas:user>test@mokahr.com</cas:user>
<cas:attributes>
<cas:name>test</cas:userCode>
<cas:email>test@mokahr.com</cas:email>
<cas:phone>15045678910</cas:email>
</cas:attributes>
</cas:authenticationSuccess>
</cas:serviceResponse>
修改于 2 年前