provider

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

provider contains authentication methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseProvider

func NewBaseProvider(p security.UserProvider, e password.Encoder) security.Provider

NewBaseProvider creates new provider.

func NewLdapProvider

NewLdapProvider creates new provider.

Types

type LdapDialer

type LdapDialer interface {
	DialURL(config *security.LdapConfig) (ldap.Client, error)
}

LdapDialer interface is used to implement creation of LDAP connection.

func NewLdapDialer

func NewLdapDialer() LdapDialer

NewLdapDialer creates new dialer.

Jump to

Keyboard shortcuts

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