gogs/modules/auth/authentication.go
2014-05-03 10:48:14 +08:00

14 lines
385 B
Go

package auth
type AuthenticationForm struct {
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"`
}