#ifndef MECH_H
#define MECH_H
#include "auth-client-interface.h"
struct auth_settings;
struct auth_request;
#include "auth-request.h"
#include "auth-request-handler.h"
/* Used only for string sanitization. */
enum mech_passdb_need {
/* Mechanism doesn't need a passdb at all */
/* Mechanism just needs to verify a given plaintext password */
/* Mechanism needs to verify a given challenge+response combination,
i.e. there is only a single response from client.
(Currently implemented the same as _LOOKUP_CREDENTIALS) */
/* Mechanism needs to look up credentials with appropriate scheme */
/* Mechanism needs to look up credentials and also modify them */
};
struct mech_module {
const char *mech_name;
};
struct mech_module_list {
};
struct mechanisms_register {
};
extern const struct mech_module mech_dovecot_token;
struct mechanisms_register *
const struct mech_module *
#endif