sasl

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// this login provider name is automatically registered with the auth package; see init()
	ProviderName = "SASL"
)

Variables

View Source
var (
	UnexpectedAuthenticationMechanisms = errors.New("Unexpected authentication 'mechanisms' received")
	UnexpectedAuthenticationStep       = errors.New("Unexpected authentication 'step' received")
	UnexpectedAuthenticationCompleted  = errors.New("Unexpected authentication 'completed' received")
	UnexpectedAuthenticatorPid         = errors.New("Unexpected authentator pid") // authenticator pid changed mid-process
	UnsupportedMechanism               = errors.New("failed to identify a compatible mechanism")
)

Functions

func BindingAddressFrom

func BindingAddressFrom(ctx context.Context) net.IP

func BindingPortFrom

func BindingPortFrom(ctx context.Context) string

func WithBindingAddress

func WithBindingAddress(ctx context.Context, address net.IP) context.Context

func WithBindingPort

func WithBindingPort(ctx context.Context, port uint16) context.Context

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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