authentication.go 385 B

12345678910111213
  1. package auth
  2. type AuthenticationForm struct {
  3. Type int `form:"type"`
  4. Name string `form:"name" binding:"MaxSize(50)"`
  5. Domain string `form:"domain"`
  6. Host string `form:"host"`
  7. Port int `form:"port"`
  8. BaseDN string `form:"base_dn"`
  9. Attributes string `form:"attributes"`
  10. Filter string `form:"filter"`
  11. MsAdSA string `form:"ms_ad_sa"`
  12. }