-rw-r--r-- | include/opkele/verify_op.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/opkele/verify_op.h b/include/opkele/verify_op.h index 6c3c386..6b94240 100644 --- a/include/opkele/verify_op.h +++ b/include/opkele/verify_op.h | |||
@@ -1,16 +1,26 @@ | |||
1 | #ifndef __OPKELE_VERIFY_OP_H | 1 | #ifndef __OPKELE_VERIFY_OP_H |
2 | #define __OPKELE_VERIFY_OP_H | 2 | #define __OPKELE_VERIFY_OP_H |
3 | 3 | ||
4 | #include <opkele/basic_op.h> | 4 | #include <opkele/basic_op.h> |
5 | 5 | ||
6 | namespace opkele { | 6 | namespace opkele { |
7 | 7 | ||
8 | /** | ||
9 | * The OP implementation that does discovery verification on RP | ||
10 | */ | ||
8 | class verify_op : public basic_OP { | 11 | class verify_op : public basic_OP { |
9 | public: | 12 | public: |
10 | 13 | ||
14 | /** | ||
15 | * In addition to basic_OP::verify_return_to() functionality this | ||
16 | * implementation does the discovery on RP to see if return_to matches | ||
17 | * the realm | ||
18 | * @throw bad_return_to in case we fail to discover corresponding | ||
19 | * service endpoint | ||
20 | */ | ||
11 | void verify_return_to(); | 21 | void verify_return_to(); |
12 | }; | 22 | }; |
13 | 23 | ||
14 | } | 24 | } |
15 | 25 | ||
16 | #endif /* __OPKELE_VERIFY_OP_H */ | 26 | #endif /* __OPKELE_VERIFY_OP_H */ |