summaryrefslogtreecommitdiffabout
path: root/include/opkele/basic_rp.h
Unidiff
Diffstat (limited to 'include/opkele/basic_rp.h') (more/less context) (show whitespace changes)
-rw-r--r--include/opkele/basic_rp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opkele/basic_rp.h b/include/opkele/basic_rp.h
index d096e0a..ea00677 100644
--- a/include/opkele/basic_rp.h
+++ b/include/opkele/basic_rp.h
@@ -52,33 +52,33 @@ namespace opkele {
52 /** 52 /**
53 * @name Global persistent store API 53 * @name Global persistent store API
54 * These are functions related to the associations with OP storage 54 * These are functions related to the associations with OP storage
55 * and retrieval and nonce records. They provide an interface to 55 * and retrieval and nonce records. They provide an interface to
56 * the persistent storage which is shared by all sessions. If the 56 * the persistent storage which is shared by all sessions. If the
57 * implementor prefers the dumb mode instead, the function should 57 * implementor prefers the dumb mode instead, the function should
58 * throw dumb_RP exception instead. 58 * throw dumb_RP exception instead.
59 * @see opkele::dumb_RP 59 * @see opkele::dumb_RP
60 * @{ 60 * @{
61 */ 61 */
62 /** 62 /**
63 * Store association and return allocated association object. 63 * Store association and return allocated association object.
64 * @param OP OP endpoint 64 * @param OP OP endpoint
65 * @param handle association handle 65 * @param handle association handle
66 * @param type association type 66 * @param type association type
67 * @param secret association secret 67 * @param secret association secret
68 * @params expires_in the number of seconds association expires in 68 * @param expires_in the number of seconds association expires in
69 * @return the association object 69 * @return the association object
70 * @throw dumb_RP for dumb RP 70 * @throw dumb_RP for dumb RP
71 */ 71 */
72 virtual assoc_t store_assoc( 72 virtual assoc_t store_assoc(
73 const string& OP,const string& handle, 73 const string& OP,const string& handle,
74 const string& type,const secret_t& secret, 74 const string& type,const secret_t& secret,
75 int expires_in) = 0; 75 int expires_in) = 0;
76 /** 76 /**
77 * Find valid unexpired association with an OP. 77 * Find valid unexpired association with an OP.
78 * @param OP OP endpoint URL 78 * @param OP OP endpoint URL
79 * @return association found 79 * @return association found
80 * @throw failed_lookup if no association found 80 * @throw failed_lookup if no association found
81 * @throw dumb_RP for dumb RP 81 * @throw dumb_RP for dumb RP
82 */ 82 */
83 virtual assoc_t find_assoc( 83 virtual assoc_t find_assoc(
84 const string& OP) = 0; 84 const string& OP) = 0;