package
0.0.0-20201230152808-d1f39bd9dcec
Repository: https://github.com/asofdate/hauth.git
Documentation: pkg.go.dev
# Functions
swagger:operation GET /HomePage StaticFiles IndexPage
返回用户登录后的主菜单页面
用户登录成功后,将会根据用户主题,返回用户的主菜单页面.
swagger:operation GET /v1/auth/main/menu HomePageMenus HomePageMenus
If the request is successful, will return the user to be able to access the menu information
The system will check user permissions.
swagger:operation GET / StaticFiles IndexPage
系统首页页面
API将会返回系统首页页面给客户端
--- produces: - application/json - application/xml - text/xml - text/html responses: '200': description: all domain information.
swagger:operation POST /login LoginSystem LoginSystem
系统登录处理服务
客户端发起登录请求到这个API,系统对用户和密码进行校验,成功返回true,如果用户和密码对应不上,返回false
--- produces: - application/json - application/xml - text/xml - text/html parameters: - name: username in: query description: domain code number required: true type: string format: - name: password in: query description: domain code number required: true type: string format: responses: '200': description: all domain information.
swagger:operation POST /logout LoginSystem LoginSystem
安全退出系统
API处理用户退出系统请求,退出系统后,系统将修改客户端的cookie信息,使其连接过时.
swagger:operation GET /v1/auth/index/entry StaticFiles SubSystemEntry
According to the ID number, return subsystem information page
The system will check user permissions.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author