ldap

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider() auth.Provider

NewProvider creates a new ldap authentication provider.

Types

type Provider

type Provider struct{}

Provider a ldap authentication provider. TODO: support configuration later

func (*Provider) Authenticate

func (p *Provider) Authenticate(user, password string) (*auth.ExternalAccount, error)

Authenticate ..

Jump to

Keyboard shortcuts

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