Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IllegalStateErr = errors.New("illegal mechanism state")
)
Functions ¶
func ListSupported ¶
func ListSupported() (list []string)
Types ¶
type Factory ¶
return a mechanism and it's initialization step (may be a noop that returns a nil data blob and handle to the first "real" challenge step).
func SelectSupported ¶
type StepFunc ¶
StepFunc implementations should never return a nil StepFunc result. This helps keep the logic in the SASL authticatee simpler: step functions are never nil. Mechanisms that end up an error state (for example, some decoding logic fails...) should return a StepFunc that represents an error state. Some mechanisms may be able to recover from such.
Click to show internal directories.
Click to hide internal directories.