/** \file request.h
\brief Public interface for libradsec request's. */
-/* See the file COPYING for licensing information. */
+/* See LICENSE for licensing information. */
#ifndef _RADSEC_REQUEST_H_
#define _RADSEC_REQUEST_H_ 1
/** Create a request associated with connection \a conn containing a
newly created RADIUS authentication message, possibly with \a
user_name and \a user_pw attributes. \a user_name and _user_pw
- are optional and can be NULL. */
+ are optional and can be NULL. If they are present, \a secret must
+ also be given and is used for "hiding" the password. */
int rs_request_create_authn(struct rs_connection *conn,
struct rs_request **req_out,
const char *user_name,
- const char *user_pw);
+ const char *user_pw,
+ const char *secret);
/** Send request \a req and wait for a matching response. The
response is put in \a resp_msg (if not NULL). NOTE: At present,