Function: sasl-scram-construct-gs2-header

sasl-scram-construct-gs2-header is a byte-compiled function defined in sasl-scram-rfc.el.gz.

Signature

(sasl-scram-construct-gs2-header CLIENT)

Source Code

;; Defined in /usr/src/emacs/lisp/net/sasl-scram-rfc.el.gz
(defun sasl-scram-construct-gs2-header (client)
  ;; The "n," means the client doesn't support channel binding, and
  ;; the trailing comma is included as per RFC 5801.
  (let ((authzid (sasl-client-property client 'authenticator-name)))
    (concat "n," (and authzid "a=") authzid ",")))