-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClaimsEnum.php
More file actions
468 lines (256 loc) · 11.4 KB
/
ClaimsEnum.php
File metadata and controls
468 lines (256 loc) · 11.4 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<?php
declare(strict_types=1);
namespace SimpleSAML\OpenID\Codebooks;
enum ClaimsEnum: string
{
// _SelectiveDisclosure
case _Sd = '_sd';
// _SelectiveDisclosureAlgorithm
case _SdAlg = '_sd_alg';
// @context
case AtContext = '@context';
case AtDirection = '@direction';
case AtLanguage = '@language';
// @type
case AtType = '@type';
case AtValue = '@value';
// Authentication Context Class Reference
case Acr = 'acr';
case AcrValuesSupported = 'acr_values_supported';
// Algorithm
case Alg = 'alg';
// AlgorithmValuesSupported
case AlgValuesSupported = 'alg_values_supported';
// AlternativeText
case AltText = 'alt_text';
// Authentication Methods References
case Amr = 'amr';
case ApplicationType = 'application_type';
// Access Token hash
case ATHash = 'at_hash';
// Audience
case Aud = 'aud';
case AuthTime = 'auth_time';
case AuthorityHints = 'authority_hints';
case AuthorizationEndpoint = 'authorization_endpoint';
case AuthorizationServer = 'authorization_server';
case AuthorizationServers = 'authorization_servers';
// Authorized party
case Azp = 'azp';
case BackChannelLogoutSessionSupported = 'backchannel_logout_session_supported';
case BackChannelLogoutSupported = 'backchannel_logout_supported';
case BackChannelLogoutUri = 'backchannel_logout_uri';
case BatchCredentialIssuance = 'batch_credential_issuance';
case BackgroundColor = 'background_color';
case BackgroundImage = 'background_image';
case BatchSize = 'batch_size';
// Code hash
case CHash = 'c_hash';
case ClaimTypesSupported = 'claim_types_supported';
case Claims = 'claims';
case ClaimsLocalesSupported = 'claims_locales_supported';
case ClaimsSupported = 'claims_supported';
case ClaimsParameterSupported = 'claims_parameter_supported';
case ClientId = 'client_id';
case ClientName = 'client_name';
case ClientRegistrationTypes = 'client_registration_types';
case ClientRegistrationTypesSupported = 'client_registration_types_supported';
case ClientUri = 'client_uri';
// Confirmation
case Cnf = 'cnf';
case CodeChallengeMethodsSupported = 'code_challenge_methods_supported';
case Contacts = 'contacts';
case CredentialConfigurationId = 'credential_configuration_id';
case CredentialConfigurationIds = 'credential_configuration_ids';
case CredentialConfigurationsSupported = 'credential_configurations_supported';
case CredentialDefinition = 'credential_definition';
case CredentialEndpoint = 'credential_endpoint';
case CredentialIdentifier = 'credential_identifier';
case CredentialIdentifiers = 'credential_identifiers';
case CredentialIssuer = 'credential_issuer';
case CredentialMetadata = 'credential_metadata';
case CredentialResponseEncryption = 'credential_response_encryption';
case Credential_Schema = 'credentialSchema';
// CredentialSigningAlgorithmValuesSupported
case CredentialSigningAlgValuesSupported = 'credential_signing_alg_values_supported';
case Credential_Status = 'credentialStatus';
case Credential_Subject = 'credentialSubject';
case CryptographicBindingMethodsSupported = 'cryptographic_binding_methods_supported';
case CryptographicSuitesSupported = 'cryptographic_suites_supported';
case DefaultAcrValues = 'default_acr_values';
case DefaultMaxAge = 'default_max_age';
case DeferredCredentialEndpoint = 'deferred_credential_endpoint';
case Delegation = 'delegation';
case Description = 'description';
case Display = 'display';
case DisplayName = 'display_name';
case DisplayValuesSupported = 'display_values_supported';
case DotDotDot = '...';
case EndSessionEndpoint = 'end_session_endpoint';
case EncryptionRequired = 'encryption_required';
// EncryptionValuesSupported
case EncValuesSupported = 'enc_values_supported';
case Events = 'events';
case Evidence = 'evidence';
// ExpirationTime
case Exp = 'exp';
case Expiration_Date = 'expirationDate';
case FederationFetchEndpoint = 'federation_fetch_endpoint';
case FederationListEndpoint = 'federation_list_endpoint';
case FederationTrustMarkEndpoint = 'federation_trust_mark_endpoint';
case FederationTrustMarkStatusEndpoint = 'federation_trust_mark_status_endpoint';
case Format = 'format';
case Grants = 'grants';
case GrantTypes = 'grant_types';
case GrantTypesSupported = 'grant_types_supported';
case HomepageUri = 'homepage_uri';
// IssuedAt
case Iat = 'iat';
// Identifier
case Id = 'id';
case InputMode = 'input_mode';
case IdTokenEncryptionAlgValuesSupported = 'id_token_encryption_alg_values_supported';
case IdTokenEncryptionEncValuesSupported = 'id_token_encryption_enc_values_supported';
case IdTokenEncryptedResponseAlg = 'id_token_encrypted_response_alg';
case IdTokenEncryptedResponseEnc = 'id_token_encrypted_response_enc';
case IdTokenSignedResponseAlg = 'id_token_signed_response_alg';
case IdTokenSigningAlgValuesSupported = 'id_token_signing_alg_values_supported';
case InformationUri = 'information_uri';
case InitiateLoginUri = 'initiate_login_uri';
case IntrospectionEndpoint = 'introspection_endpoint';
case IntrospectionEndpointAuthMethodsSupported = 'introspection_endpoint_auth_methods_supported';
case IntrospectionEndpointAuthSigningAlgValuesSupported =
'introspection_endpoint_auth_signing_alg_values_supported';
// Issuer
case Iss = 'iss';
case Issuance_Date = 'issuanceDate';
case Issuer = 'issuer';
case IssuerState = 'issuer_state';
// JWT ID
case Jti = 'jti';
// JsonWebKey
case Jwk = 'jwk';
// JsonWebKeySet
case Jwks = 'jwks';
case JwksUri = 'jwks_uri';
case Keywords = 'keywords';
// KeyId
case Kid = 'kid';
case KeyAttestationsRequired = 'key_attestations_required';
case KeyStorage = 'key_storage';
case Keys = 'keys';
case Length = 'length';
case Locale = 'locale';
case Logo = 'logo';
case LogoUri = 'logo_uri';
case Mandatory = 'mandatory';
case Metadata = 'metadata';
case MetadataPolicy = 'metadata_policy';
// MetadataPolicyCritical
case MetadataPolicyCrit = 'metadata_policy_crit';
case Name = 'name';
case Nonce = 'nonce';
case NonceEndpoint = 'nonce_endpoint';
// NotBefore
case Nbf = 'nbf';
case Notification = 'notification';
case NotificationEndpoint = 'notification_endpoint';
// OpenIDProviderPolicyUri
case OpPolicyUri = 'op_policy_uri';
// OpenIDProviderTermsOfServiceUri
case OpTosUri = 'op_tos_uri';
case OrganizationName = 'organization_name';
case OrganizationUri = 'organization_uri';
case Path = 'path';
case PeerTrustChain = 'peer_trust_chain';
case PolicyUri = 'policy_uri';
case PostLogoutRedirectUris = 'post_logout_redirect_uris';
case PreAuthorizedCode = 'pre-authorized_code';
case PreAuthorizedGrantAnonymousAccessSupported = 'pre-authorized_grant_anonymous_access_supported';
case Proof = 'proof';
case Proofs = 'proofs';
// ProofSigningAlgorithmValuesSupported
case ProofSigningAlgValuesSupported = 'proof_signing_alg_values_supported';
case ProofTypesSupported = 'proof_types_supported';
case RedirectUris = 'redirect_uris';
// Reference
case Ref = 'ref';
case Refresh_Service = 'refreshService';
case RegistrationEndpoint = 'registration_endpoint';
case RequestAuthenticationMethodsSupported = 'request_authentication_methods_supported';
case RequestAuthenticationSigningAlgValuesSupported = 'request_authentication_signing_alg_values_supported';
case RequestObjectEncryptionAlg = 'request_object_encryption_alg';
case RequestObjectEncryptionAlgValuesSupported = 'request_object_encryption_alg_values_supported';
case RequestObjectEncryptionEnc = 'request_object_encryption_enc';
case RequestObjectEncryptionEncValuesSupported = 'request_object_encryption_enc_values_supported';
case RequestObjectSigningAlg = 'request_object_signing_alg';
case RequestObjectSigningAlgValuesSupported = 'request_object_signing_alg_values_supported';
case RequestParameterSupported = 'request_parameter_supported';
case RequestUriParameterSupported = 'request_uri_parameter_supported';
case RequestUris = 'request_uris';
case RequireAuthTime = 'require_auth_time';
case RequireRequestUriRegistration = 'require_request_uri_registration';
case ResponseModesSupported = 'response_modes_supported';
case ResponseTypes = 'response_types';
case ResponseTypesSupported = 'response_types_supported';
case RevocationEndpoint = 'revocation_endpoint';
case RevocationEndpointAuthMethodsSupported = 'revocation_endpoint_auth_methods_supported';
case RevocationEndpointAuthSigningAlgValuesSupported = 'revocation_endpoint_auth_signing_alg_values_supported';
case Scope = 'scope';
case ScopesSupported = 'scopes_supported';
case SectorIdentifierUri = 'sector_identifier_uri';
case ServiceDocumentation = 'service_documentation';
// Session ID
case Sid = 'sid';
case SignedJwksUri = 'signed_jwks_uri';
case SignedMetadata = 'signed_metadata';
case SoftwareId = 'software_id';
case SoftwareVersion = 'software_version';
case Status = 'status';
// Subject
case Sub = 'sub';
// Subject JWK
case SubJwk = 'sub_jwk';
case SubjectType = 'subject_type';
case SubjectTypesSupported = 'subject_types_supported';
case Terms_Of_Use = 'termsOfUse';
case TextColor = 'text_color';
case TokenEndpoint = 'token_endpoint';
case TokenEndpointAuthMethod = 'token_endpoint_auth_method';
case TokenEndpointAuthMethodsSupported = 'token_endpoint_auth_methods_supported';
case TokenEndpointAuthSigningAlg = 'token_endpoint_auth_signing_alg';
case TokenEndpointAuthSigningAlgValuesSupported = 'token_endpoint_auth_signing_alg_values_supported';
case TosUri = 'tos_uri';
// Type
case Typ = 'typ';
case Type = 'type';
case TrustAnchorHints = 'trust_anchor_hints';
case TrustChain = 'trust_chain';
case TrustMark = 'trust_mark';
case TrustMarkIssuers = 'trust_mark_issuers';
case TrustMarkOwners = 'trust_mark_owners';
case TrustMarkType = 'trust_mark_type';
case TrustMarks = 'trust_marks';
// TransactionCode
case TxCode = 'tx_code';
// UserInterfaceLocalesSupported
case UiLocalesSupported = 'ui_locales_supported';
case Uri = 'uri';
case Use = 'use';
case UserAuthentication = 'user_authentication';
case UserinfoEndpoint = 'userinfo_endpoint';
case UserinfoEncryptedResponseAlg = 'userinfo_encrypted_response_alg';
case UserinfoEncryptedResponseEnc = 'userinfo_encrypted_response_enc';
case UserinfoEncryptionAlgValuesSupported = 'userinfo_encryption_alg_values_supported';
case UserinfoEncryptionEncValuesSupported = 'userinfo_encryption_enc_values_supported';
case UserinfoSignedResponseAlg = 'userinfo_signed_response_alg';
case UserinfoSigningAlgValuesSupported = 'userinfo_signing_alg_values_supported';
case ValidFrom = 'validFrom';
case ValidUntil = 'validUntil';
// VerifiableCredential
case Vc = 'vc';
// VerifiableCredentialType
case Vct = 'vct';
// X509certificateChain
case X5c = 'x5c';
}