Wolframe, 0.0.3

authenticationModuleMacros.hpp File Reference

Macros for a module for defining an authentication mechanism. More...

#include "appdevel/module/authenticationConstructor.hpp"
#include "module/moduleInterface.hpp"
#include "module/constructor.hpp"
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Macros

#define WF_AUTHENTICATOR(NAME, UNITCLASS, CONFIGCLASS)
 Defines a an authentication mechanism. More...
 

Detailed Description

Macros for a module for defining an authentication mechanism.

Macro Definition Documentation

#define WF_AUTHENTICATOR (   NAME,
  UNITCLASS,
  CONFIGCLASS 
)
Value:
{\
struct Builder \
{\
{\
_Wolframe::module::AuthenticationConstructor<UNITCLASS, CONFIGCLASS>,\
CONFIGCLASS >\
mod( "Authentication " #NAME, "Authentication", #NAME, #NAME "Authentication");\
return &mod;\
}\
};\
(*this)(&Builder::impl);\
}
Template for constructing a configured builder.
Definition: moduleInterface.hpp:129
Definition: moduleInterface.hpp:51

Defines a an authentication mechanism.