auth

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateAuthenticator

type CertificateAuthenticator = auth.CertificateAuthenticator

CertificateAuthenticator is the interface for authenticating a client using TLS certificates.

func NewCertificateAuthenticator added in v1.2.2

func NewCertificateAuthenticator(opts ...CertificateAuthenticatorOption) (CertificateAuthenticator, error)

NewCertificateAuthenticator returns a new certificate authenticator.

type CertificateAuthenticatorOption

type CertificateAuthenticatorOption = auth.CertificateAuthenticatorOption

CertificateAuthenticatorOption represents an authenticator option.

func WithCommonNameRegexp added in v1.2.2

func WithCommonNameRegexp(regexps ...string) CertificateAuthenticatorOption

WithCertificateAuthenticatorCommonName sets the common name.

type Manager added in v1.2.2

type Manager interface {
	auth.Manager
	ConversationCounter() *sasl.Counter
}

Manager represents an authenticator manager.

func NewManager added in v1.2.2

func NewManager() Manager

NewManager returns a new Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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