diff options
Diffstat (limited to 'src/include/gnunet_identity_provider_service.h')
-rw-r--r-- | src/include/gnunet_identity_provider_service.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/gnunet_identity_provider_service.h b/src/include/gnunet_identity_provider_service.h index 6bc05d0f4..be935e898 100644 --- a/src/include/gnunet_identity_provider_service.h +++ b/src/include/gnunet_identity_provider_service.h | |||
@@ -131,6 +131,7 @@ GNUNET_IDENTITY_PROVIDER_attribute_store (struct GNUNET_IDENTITY_PROVIDER_Handle | |||
131 | * Process an attribute that was stored in the idp. | 131 | * Process an attribute that was stored in the idp. |
132 | * | 132 | * |
133 | * @param cls closure | 133 | * @param cls closure |
134 | * @param identity the identity | ||
134 | * @param attr the attribute | 135 | * @param attr the attribute |
135 | */ | 136 | */ |
136 | typedef void | 137 | typedef void |
@@ -211,19 +212,19 @@ typedef void | |||
211 | 212 | ||
212 | /** | 213 | /** |
213 | * Issues a ticket to another identity. The identity may use | 214 | * Issues a ticket to another identity. The identity may use |
214 | * @GNUNET_IDENTITY_PROVIDER_authorization_ticket_consume to consume the ticket | 215 | * GNUNET_IDENTITY_PROVIDER_ticket_consume to consume the ticket |
215 | * and retrieve the attributes specified in the AttributeList. | 216 | * and retrieve the attributes specified in the AttributeList. |
216 | * | 217 | * |
217 | * @param id the identity provider to use | 218 | * @param h the identity provider to use |
218 | * @param iss the issuing identity | 219 | * @param iss the issuing identity |
219 | * @param rp the subject of the ticket (the relying party) | 220 | * @param rp the subject of the ticket (the relying party) |
220 | * @param attr the attributes that the relying party is given access to | 221 | * @param attrs the attributes that the relying party is given access to |
221 | * @param cb the callback | 222 | * @param cb the callback |
222 | * @param cb_cls the callback closure | 223 | * @param cb_cls the callback closure |
223 | * @return handle to abort the operation | 224 | * @return handle to abort the operation |
224 | */ | 225 | */ |
225 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 226 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
226 | GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 227 | GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *h, |
227 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *iss, | 228 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *iss, |
228 | const struct GNUNET_CRYPTO_EcdsaPublicKey *rp, | 229 | const struct GNUNET_CRYPTO_EcdsaPublicKey *rp, |
229 | const struct GNUNET_IDENTITY_ATTRIBUTE_ClaimList *attrs, | 230 | const struct GNUNET_IDENTITY_ATTRIBUTE_ClaimList *attrs, |
@@ -234,7 +235,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *i | |||
234 | * Revoked an issued ticket. The relying party will be unable to retrieve | 235 | * Revoked an issued ticket. The relying party will be unable to retrieve |
235 | * updated attributes. | 236 | * updated attributes. |
236 | * | 237 | * |
237 | * @param id the identity provider to use | 238 | * @param h the identity provider to use |
238 | * @param identity the issuing identity | 239 | * @param identity the issuing identity |
239 | * @param ticket the ticket to revoke | 240 | * @param ticket the ticket to revoke |
240 | * @param cb the callback | 241 | * @param cb the callback |
@@ -242,7 +243,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *i | |||
242 | * @return handle to abort the operation | 243 | * @return handle to abort the operation |
243 | */ | 244 | */ |
244 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 245 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
245 | GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 246 | GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle *h, |
246 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | 247 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, |
247 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, | 248 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, |
248 | GNUNET_IDENTITY_PROVIDER_ContinuationWithStatus cb, | 249 | GNUNET_IDENTITY_PROVIDER_ContinuationWithStatus cb, |
@@ -254,7 +255,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle * | |||
254 | * Consumes an issued ticket. The ticket is persisted | 255 | * Consumes an issued ticket. The ticket is persisted |
255 | * and used to retrieve identity information from the issuer | 256 | * and used to retrieve identity information from the issuer |
256 | * | 257 | * |
257 | * @param id the identity provider to use | 258 | * @param h the identity provider to use |
258 | * @param identity the identity that is the subject of the issued ticket (the audience) | 259 | * @param identity the identity that is the subject of the issued ticket (the audience) |
259 | * @param ticket the issued ticket to consume | 260 | * @param ticket the issued ticket to consume |
260 | * @param cb the callback to call | 261 | * @param cb the callback to call |
@@ -262,7 +263,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle * | |||
262 | * @return handle to abort the operation | 263 | * @return handle to abort the operation |
263 | */ | 264 | */ |
264 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 265 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
265 | GNUNET_IDENTITY_PROVIDER_ticket_consume (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 266 | GNUNET_IDENTITY_PROVIDER_ticket_consume (struct GNUNET_IDENTITY_PROVIDER_Handle *h, |
266 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | 267 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, |
267 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, | 268 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, |
268 | GNUNET_IDENTITY_PROVIDER_AttributeResult cb, | 269 | GNUNET_IDENTITY_PROVIDER_AttributeResult cb, |
@@ -299,7 +300,7 @@ GNUNET_IDENTITY_PROVIDER_ticket_iteration_start (struct GNUNET_IDENTITY_PROVIDER | |||
299 | * Lists all tickets that have been issued to remote | 300 | * Lists all tickets that have been issued to remote |
300 | * identites (relying parties) | 301 | * identites (relying parties) |
301 | * | 302 | * |
302 | * @param id the identity provider to use | 303 | * @param h the identity provider to use |
303 | * @param identity the issuing identity | 304 | * @param identity the issuing identity |
304 | * @param error_cb function to call on error (i.e. disconnect), | 305 | * @param error_cb function to call on error (i.e. disconnect), |
305 | * the handle is afterwards invalid | 306 | * the handle is afterwards invalid |