ldap

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configuration

func Configuration(c *gin.Context)

func DeleteConfiguration

func DeleteConfiguration(c *gin.Context)

func GetConfiguration

func GetConfiguration(c *gin.Context)

func TestBind

func TestBind(c *gin.Context)

func TestSearch

func TestSearch(c *gin.Context)

func Trigger

func Trigger(c *gin.Context)

Types

type Bind

type Bind struct {
	Server   string  `json:"server" binding:"required"`
	Tls      *uint64 `json:"tls"`
	Md5      *uint64 `json:"md5"`
	BindDn   string  `json:"bind_dn" binding:"required"`
	Password string  `json:"password" binding:"required"`
}

type Configurations

type Configurations struct {
	Server       string  `json:"server" binding:"required"`
	Tls          *uint64 `json:"tls"`
	Md5          *uint64 `json:"md5"`
	BindDn       string  `json:"bind_dn" binding:"required"`
	Password     string  `json:"password" binding:"required"`
	BaseDn       string  `json:"base_dn" binding:"required"`
	Filter       string  `json:"filter"`
	AdminBaseDn  string  `json:"admin_base_dn"`
	AdminFilter  string  `json:"admin_filter"`
	EmailAttr    string  `json:"email_attr" binding:"required"`
	UserNameAttr string  `json:"user_name_attr"`
}

type FakeUser

type FakeUser struct {
	Email    string `json:"email"`
	UserName string `json:"user_name"`
	BindDn   string `json:"bind_dn"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL