aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/authentication.go
blob: d9c61b9d79f529eef3d527e591ca36b43606cf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package auth

type AuthenticationForm struct {
	Id         int64  `form:"id"`
	Type       int    `form:"type"`
	Name       string `form:"name" binding:"MaxSize(50)"`
	Domain     string `form:"domain"`
	Host       string `form:"host"`
	Port       int    `form:"port"`
	BaseDN     string `form:"base_dn"`
	Attributes string `form:"attributes"`
	Filter     string `form:"filter"`
	MsAdSA     string `form:"ms_ad_sa"`
	IsActived  bool   `form:"is_actived"`
}