OAuth

Catalog


POST Password auth

Request path:

https://api.aiursoft.com/OAuth/PasswordAuth

Request content type:

application/x-www-form-urlencoded

Form content example:

AppId=yourAppId&Email=yourEmail&Password=yourPassword 

Request form:

Name Required Type
AppId Required Text
Email Required Text
Password Required Text

POST App register

Request path:

https://api.aiursoft.com/OAuth/AppRegister

Request content type:

application/x-www-form-urlencoded

Form content example:

Email=yourEmail&Password=yourPassword&ConfirmPassword=yourConfirmPassword 

Request form:

Name Required Type
Email Required Text
Password Required Text
ConfirmPassword Not required Text

POST Signout

Request path:

https://api.aiursoft.com/OAuth/Signout

Request content type:

application/x-www-form-urlencoded

Form content example:

 

GET Code to open id

Request path:

https://api.aiursoft.com/OAuth/CodeToOpenIdTry

Request example:

https://api.aiursoft.com/OAuth/CodeToOpenId?AccessToken=yourAccessToken&Code=0&grant_type=yourgrant_type

Request arguments:

Name Required Type
AccessToken Required Text
Code Required Number
grant_type Required Text

GET User info

Request path:

https://api.aiursoft.com/OAuth/UserInfoTry

Request example:

https://api.aiursoft.com/OAuth/UserInfo?access_token=youraccess_token&openid=youropenid&lang=yourlang

Request arguments:

Name Required Type
access_token Required Text
openid Required Text
lang Not required Text