29struct AuthFilter::Data {
30 std::function<bool(std::string, std::string)> authFunction;
32 bool useSessions =
false;
Structure defining an HTTP Basic Authentication filter.
#define NAWA_MOVE_CONSTRUCTOR_DERIVED_IMPL(Class, Parent)
#define NAWA_DEFAULT_DESTRUCTOR_IMPL(Class)
#define NAWA_PRIMITIVE_DATA_ACCESSORS_IMPL(Class, Member, Type)
#define NAWA_COMPLEX_DATA_ACCESSORS_IMPL(Class, Member, Type)
#define NAWA_COPY_CONSTRUCTOR_DERIVED_IMPL(Class, Parent)
#define NAWA_DEFAULT_CONSTRUCTOR_IMPL(Class)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DERIVED_IMPL(Class, Parent)
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DERIVED_IMPL(Class, Parent)