-rw-r--r-- | include/opkele/extension.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/opkele/extension.h b/include/opkele/extension.h index 3fb5f6e..a9d301b 100644 --- a/include/opkele/extension.h +++ b/include/opkele/extension.h @@ -1,26 +1,26 @@ -#ifndef __OPKELE_EXTENSIONS_H -#define __OPKELE_EXTENSIONS_H +#ifndef __OPKELE_EXTENSION_H +#define __OPKELE_EXTENSION_H /** * @file * @brief extensions framework basics */ #include <opkele/types.h> /** * @brief the main opkele namespace */ namespace opkele { /** * OpenID consumer extension hooks base class */ class extension_t { public: /** * hook called by consumer before submitting data to OpenID server. * It is supposed to manipulate parameters list. * @param p parameters about to be submitted to server * @param identity identity being verified. It may differ from the * one available in parameters list in case of delegation @@ -35,25 +35,25 @@ namespace opkele { * @param identity identity confirmed. May differ from the one * available in parameters list in case of delegation. May also be * empty which means - extract one from parameters */ virtual void id_res_hook(const params_t& p,const params_t& sp,const string& identity); /** * hook called by server before returning information to consumer. * The hook may manipulate output parameters. It is important to * note that modified pout["signed"] is used for signing response. * @param pin request parameters list * @param put response parameters list */ virtual void checkid_hook(const params_t& pin,params_t& pout); /** * Casts the object to pointer to itself. For convenient passing * of pointer. */ operator extension_t*(void) { return this; } }; } -#endif /* __OPKELE_EXTENSIONS_H */ +#endif /* __OPKELE_EXTENSION_H */ |