This section is empty.
var ( IllegalStateErr = errors.New("illegal mechanism state") )
func ListSupported ¶
func ListSupported() (list string)
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 Interface ¶
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.