forgejo/modules/auth/authentication.go

16 lines
455 B
Go
Raw Normal View History

2014-05-03 02:48:14 +00:00
package auth
type AuthenticationForm struct {
2014-05-05 08:40:25 +00:00
Id int64 `form:"id"`
2014-05-03 02:48:14 +00:00
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"`
2014-05-05 08:40:25 +00:00
IsActived bool `form:"is_actived"`
2014-05-03 02:48:14 +00:00
}