Function: sasl-next-step
sasl-next-step is a byte-compiled function defined in sasl.el.gz.
Signature
(sasl-next-step CLIENT STEP)
Documentation
Evaluate the challenge and prepare an appropriate next response.
The data type of the value and 2nd argument STEP is nil or opaque authentication step which holds the reference to the next action and the current challenge. At the first time STEP should be set to nil.
Source Code
;; Defined in /usr/src/emacs/lisp/net/sasl.el.gz
(defun sasl-next-step (client step)
"Evaluate the challenge and prepare an appropriate next response.
The data type of the value and 2nd argument STEP is nil or opaque
authentication step which holds the reference to the next action and
the current challenge. At the first time STEP should be set to nil."
(let* ((steps
(sasl-mechanism-steps
(sasl-client-mechanism client)))
(function
(if (vectorp step)
(nth 1 (memq (aref step 0) steps))
(car steps))))
(if function
(vector function (funcall function client step)))))