pamtest_conv_data Struct Reference
[The pamtest API]

This structure should be used when using run_pamtest, which uses an internal conversation function. More...

#include <include/libpamtest.h>

Data Fields

const char ** in_echo_off
 When the conversation function receives PAM_PROMPT_ECHO_OFF, it reads the auth token from the in_echo_off array and keeps an index internally.
const char ** in_echo_on
 When the conversation function receives PAM_PROMPT_ECHO_ON, it reads the input from the in_echo_off array and keeps an index internally.
char ** out_err
 Captures messages through PAM_TEXT_INFO.
char ** out_info
 Captures messages through PAM_ERROR_MSG.

Detailed Description

This structure should be used when using run_pamtest, which uses an internal conversation function.


Field Documentation

Captures messages through PAM_TEXT_INFO.

The test caller is responsible for allocating enough space in the array.

Captures messages through PAM_ERROR_MSG.

The test caller is responsible for allocating enough space in the array.


The documentation for this struct was generated from the following file:

Generated on 13 Feb 2019 for pam_wrapper by  doxygen 1.6.1