sasllogin

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoginServer

func NewLoginServer(authenticator LoginAuthenticator) sasl.Server

A server implementation of the LOGIN authentication mechanism, as described in https://tools.ietf.org/html/draft-murchison-sasl-login-00.

LOGIN is obsolete and should only be enabled for legacy clients that cannot be updated to use PLAIN.

Types

type LoginAuthenticator

type LoginAuthenticator func(username, password string) error

Authenticates users with an username and a password.

Jump to

Keyboard shortcuts

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