forkjo/modules/auth/authentication.go

16 lines
455 B
Go
Raw Normal View History

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