mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
ldap support
This commit is contained in:
13
modules/auth/authentication.go
Normal file
13
modules/auth/authentication.go
Normal file
@ -0,0 +1,13 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user