diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-19 23:53:02 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-20 17:59:02 +0200 |
commit | a57d476abbe857365aff157f389cc1188b5dd090 (patch) | |
tree | e8f7163ef7e6f5426748fed8d2eaa5183038a5d6 /src/reclaim/oidc_helper.h | |
parent | e75869506cc08e08056168383bd4ab02e1f007de (diff) | |
download | gnunet-a57d476abbe857365aff157f389cc1188b5dd090.tar.gz gnunet-a57d476abbe857365aff157f389cc1188b5dd090.zip |
reclaim: Attestations now called credentials. Credentials are presented to third parties as presentations.
Diffstat (limited to 'src/reclaim/oidc_helper.h')
-rw-r--r-- | src/reclaim/oidc_helper.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/reclaim/oidc_helper.h b/src/reclaim/oidc_helper.h index 789a2acc7..10a6f3d1f 100644 --- a/src/reclaim/oidc_helper.h +++ b/src/reclaim/oidc_helper.h | |||
@@ -52,8 +52,8 @@ | |||
52 | char* | 52 | char* |
53 | OIDC_generate_id_token (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, | 53 | OIDC_generate_id_token (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, |
54 | const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, | 54 | const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, |
55 | struct GNUNET_RECLAIM_AttributeList *attrs, | 55 | const struct GNUNET_RECLAIM_AttributeList *attrs, |
56 | struct GNUNET_RECLAIM_PresentationList *presentations, | 56 | const struct GNUNET_RECLAIM_PresentationList *presentations, |
57 | const struct GNUNET_TIME_Relative *expiration_time, | 57 | const struct GNUNET_TIME_Relative *expiration_time, |
58 | const char *nonce, | 58 | const char *nonce, |
59 | const char *secret_key); | 59 | const char *secret_key); |
@@ -73,8 +73,8 @@ OIDC_generate_id_token (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, | |||
73 | char* | 73 | char* |
74 | OIDC_build_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer, | 74 | OIDC_build_authz_code (const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer, |
75 | const struct GNUNET_RECLAIM_Ticket *ticket, | 75 | const struct GNUNET_RECLAIM_Ticket *ticket, |
76 | struct GNUNET_RECLAIM_AttributeList *attrs, | 76 | const struct GNUNET_RECLAIM_AttributeList *attrs, |
77 | struct GNUNET_RECLAIM_PresentationList *presentations, | 77 | const struct GNUNET_RECLAIM_PresentationList *presentations, |
78 | const char *nonce, | 78 | const char *nonce, |
79 | const char *code_challenge); | 79 | const char *code_challenge); |
80 | 80 | ||
@@ -139,8 +139,8 @@ OIDC_access_token_parse (const char* token, | |||
139 | * @return GNUNET_YES if attribute is implcitly requested | 139 | * @return GNUNET_YES if attribute is implcitly requested |
140 | */ | 140 | */ |
141 | enum GNUNET_GenericReturnValue | 141 | enum GNUNET_GenericReturnValue |
142 | OIDC_check_scopes_for_claim_request (const char*scopes, | 142 | OIDC_check_scopes_for_claim_request (const char *scopes, |
143 | const char*attr); | 143 | const char *attr); |
144 | 144 | ||
145 | 145 | ||
146 | /** | 146 | /** |
@@ -153,7 +153,7 @@ OIDC_check_scopes_for_claim_request (const char*scopes, | |||
153 | */ | 153 | */ |
154 | char * | 154 | char * |
155 | OIDC_generate_userinfo (const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, | 155 | OIDC_generate_userinfo (const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, |
156 | struct GNUNET_RECLAIM_AttributeList *attrs, | 156 | const struct GNUNET_RECLAIM_AttributeList *attrs, |
157 | struct GNUNET_RECLAIM_PresentationList *presentations); | 157 | const struct GNUNET_RECLAIM_PresentationList *presentations); |
158 | 158 | ||
159 | #endif | 159 | #endif |