auth-request.h revision e4d34f2fbee451219599d71505594df704093ce3
#ifndef __AUTH_REQUEST_H
#define __AUTH_REQUEST_H
#include "network.h"
#include "mech.h"
#include "userdb.h"
#include "passdb.h"
struct auth_client_connection;
struct auth_request {
int refcount;
char *user;
char *mech_password; /* set if verify_plain() is called */
char *passdb_password; /* set after password lookup if successful */
struct mech_module *mech;
unsigned int connect_uid;
unsigned int client_pid;
unsigned int id;
const char *service;
union {
void *context;
unsigned int successful:1;
unsigned int internal_failure:1;
unsigned int finished:1;
unsigned int delayed_failure:1;
unsigned int accept_input:1;
unsigned int no_failure_delay:1;
unsigned int no_login:1;
unsigned int proxy:1;
/* ... mechanism specific data ... */
};
struct auth_request *
const char *password,
const struct var_expand_table *
const char *(*escape_func)(const char *));
const char *subsystem,
const char *subsystem,
const char *subsystem,
#endif