https://github.com/wususu/scau-auth-app
:snake:a simple authorization server for students in scau
https://github.com/wususu/scau-auth-app
Last synced: 4 months ago
JSON representation
:snake:a simple authorization server for students in scau
- Host: GitHub
- URL: https://github.com/wususu/scau-auth-app
- Owner: wususu
- Created: 2017-10-16T05:53:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T15:18:38.000Z (over 7 years ago)
- Last Synced: 2025-01-11T19:33:54.235Z (5 months ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SCAU-Auth-App
华农学生身份认证app## 快速上手:
1. 获取验证码:
GET: 192.168.232.2:8111/auth/getresponse:
{
"path": "/auth/image/ljg1esf5c1rasxak2jbkcq45", //验证码地址
"session": "ljg1esf5c1rasxak2jbkcq45",
"view_state": "dDwtNTE2MjI4MTQ7Oz5gXe9/FvmCp4TSSLd1QQxdVAgCkA=="
}2. 验证:
POST: 192.168.232.2:8111/auth/postparam:
session: 第一步返回的数据
view_state: 同上
code: 验证码
username: 学号
passwd: 正方系统密码
response:{
"state": "success",
"name": "xxx同学"
}