controllers

package
v0.0.0-...-e6d3209 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	beego.Controller
}

func (*AuthController) Authorize

func (this *AuthController) Authorize()

@Title authorization @Description authorization @Param token header string true "authToken" @Success 200 {object} models.Result @router /Authorization [post]

func (*AuthController) CheckLDAPStatus

func (this *AuthController) CheckLDAPStatus()

@Title CheckLDAPStatus @Description Check LDAP Status @Success 200 {object} models.Result @router /checkldap [post]

func (*AuthController) Login

func (this *AuthController) Login()

@Title login @Description login @Param name query string true "userName" @Param pwd query string true "userPwd" @Param loginType query string true "loginType类型 LOCAL(本地) LDAP(ldap登录),空值视为LOCAL" @Success 200 {object} models.Result @router /login [post]

type NestPreparer

type NestPreparer interface {
	NestPrepare()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL