summaryrefslogtreecommitdiffabout
path: root/lib/extension.cc
blob: 0f121ca6e825b65538defc699656f34d999c7b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <opkele/exception.h>
#include <opkele/extension.h>

namespace opkele {

    void extension_t::rp_checkid_hook(basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "RP checkid_* hook not implemented"); }
    void extension_t::rp_id_res_hook(const basic_openid_message&,
	    const basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "RP id_res hook not implemented"); }

    void extension_t::op_checkid_hook(const basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "OP checkid_* hook not implemented"); }
    void extension_t::op_id_res_hook(basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "OP id_res hook not implemented"); }


    void extension_t::checkid_hook(basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "deprecated consumer checkid_* hook not implemented"); }
    void extension_t::id_res_hook(const basic_openid_message&,
	    const basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "deprecated consumer id_res hook not implemented"); }

    void extension_t::checkid_hook(const basic_openid_message&,basic_openid_message&) {
	throw not_implemented(OPKELE_CP_ "deprecated server checkid hook not implemented"); }
}