extern struct diagnostic* sasl_login

(BP_CONNECTION* bp,
  char* serverName)

Tune using SASL, and update the connection's configuration structure accordingly.

Documentation

Tune using SASL, and update the connection's configuration structure accordingly.

Parameters:
bp - A pointer to the connection structure.

Input Keys:

SASL_LOCAL_MECHANISM
One of: "anonymous", "otp".
SASL_LOCAL_TRACEINFO
Trace information for SASL ANONYMOUS.
SASL_LOCAL_USERNAME
The SASL authentication-identity.
SASL_LOCAL_TARGET
The SASL authorization-identity.
SASL_LOCAL_PASSPHRASE
The passphrase for the authentication-identity.

Output Keys:

SASL_LOCAL_MECHANISM
The SASL mechanism used for authentication.
SASL_LOCAL_CODE
The resulting status code. Consult Section 8 of RFC 3080 for an (incomplete) list.
SASL_LOCAL_REASON
A textual message corresponding to SASL_LOCAL_CODE

serverName - The value to use for the serverName attribute of the <start> element, or NULL.
Returns:
On failure, a pointer to a diagnostic structure explaining the reason (which should subsequently be destroyed by calling bp_diagnostic_destroy).

Home Alphabetic index



This page was generated with the help of DOC++.