Skip to content

Commit a734786

Browse files
committed
Merge with master
1 parent b77b02f commit a734786

26 files changed

Lines changed: 456 additions & 51 deletions

src/Algorithms/SignatureAlgorithmEnum.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,25 @@
2020
enum SignatureAlgorithmEnum: string
2121
{
2222
case EdDSA = 'EdDSA';
23+
2324
case ES256 = 'ES256';
25+
2426
case ES384 = 'ES384';
27+
2528
case ES512 = 'ES512';
29+
2630
case none = 'none';
31+
2732
case PS256 = 'PS256';
33+
2834
case PS384 = 'PS384';
35+
2936
case PS512 = 'PS512';
37+
3038
case RS256 = 'RS256';
39+
3140
case RS384 = 'RS384';
41+
3242
case RS512 = 'RS512';
3343

3444

src/Codebooks/ApplicationTypesEnum.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
enum ApplicationTypesEnum: string
88
{
99
case Web = 'web';
10+
1011
case Native = 'native';
1112
}

src/Codebooks/ClaimsEnum.php

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,199 +8,361 @@ enum ClaimsEnum: string
88
{
99
// _SelectiveDisclosure
1010
case _Sd = '_sd';
11+
1112
// _SelectiveDisclosureAlgorithm
1213
case _SdAlg = '_sd_alg';
14+
1315
// @context
1416
case AtContext = '@context';
17+
1518
// @type
1619
case AtType = '@type';
20+
1721
case AcrValuesSupported = 'acr_values_supported';
22+
1823
// Algorithm
1924
case Alg = 'alg';
25+
2026
// AlgorithmValuesSupported
2127
case AlgValuesSupported = 'alg_values_supported';
28+
2229
// AlternativeText
2330
case AltText = 'alt_text';
31+
2432
case ApplicationType = 'application_type';
33+
2534
// Audience
2635
case Aud = 'aud';
36+
2737
case AuthorityHints = 'authority_hints';
38+
2839
case AuthorizationEndpoint = 'authorization_endpoint';
40+
2941
case AuthorizationServer = 'authorization_server';
42+
3043
case AuthorizationServers = 'authorization_servers';
44+
3145
case BackChannelLogoutSessionSupported = 'backchannel_logout_session_supported';
46+
3247
case BackChannelLogoutSupported = 'backchannel_logout_supported';
48+
3349
case BackChannelLogoutUri = 'backchannel_logout_uri';
50+
3451
case BatchCredentialIssuance = 'batch_credential_issuance';
52+
3553
case BackgroundColor = 'background_color';
54+
3655
case BackgroundImage = 'background_image';
56+
3757
case BatchSize = 'batch_size';
58+
3859
case Claims = 'claims';
60+
3961
case ClaimsSupported = 'claims_supported';
62+
4063
case ClaimsParameterSupported = 'claims_parameter_supported';
64+
4165
case ClientId = 'client_id';
66+
4267
case ClientName = 'client_name';
68+
4369
case ClientRegistrationTypes = 'client_registration_types';
70+
4471
case ClientRegistrationTypesSupported = 'client_registration_types_supported';
72+
4573
// Confirmation
4674
case Cnf = 'cnf';
75+
4776
case CodeChallengeMethodsSupported = 'code_challenge_methods_supported';
77+
4878
case Contacts = 'contacts';
79+
4980
case CredentialConfigurationId = 'credential_configuration_id';
81+
5082
case CredentialConfigurationIds = 'credential_configuration_ids';
83+
5184
case CredentialConfigurationsSupported = 'credential_configurations_supported';
85+
5286
case CredentialDefinition = 'credential_definition';
87+
5388
case CredentialEndpoint = 'credential_endpoint';
89+
5490
case CredentialIdentifier = 'credential_identifier';
91+
5592
case CredentialIdentifiers = 'credential_identifiers';
93+
5694
case CredentialIssuer = 'credential_issuer';
95+
5796
case CredentialMetadata = 'credential_metadata';
97+
5898
case CredentialResponseEncryption = 'credential_response_encryption';
99+
59100
case Credential_Schema = 'credentialSchema';
101+
60102
// CredentialSigningAlgorithmValuesSupported
61103
case CredentialSigningAlgValuesSupported = 'credential_signing_alg_values_supported';
104+
62105
case Credential_Status = 'credentialStatus';
106+
63107
case Credential_Subject = 'credentialSubject';
108+
64109
case CryptographicBindingMethodsSupported = 'cryptographic_binding_methods_supported';
110+
65111
case CryptographicSuitesSupported = 'cryptographic_suites_supported';
112+
66113
case DeferredCredentialEndpoint = 'deferred_credential_endpoint';
114+
67115
case Delegation = 'delegation';
116+
68117
case Description = 'description';
118+
69119
case Display = 'display';
120+
70121
case DisplayName = 'display_name';
122+
71123
case DotDotDot = '...';
124+
72125
case EndSessionEndpoint = 'end_session_endpoint';
126+
73127
case EncryptionRequired = 'encryption_required';
128+
74129
// EncryptionValuesSupported
75130
case EncValuesSupported = 'enc_values_supported';
131+
76132
case Evidence = 'evidence';
133+
77134
// ExpirationTime
78135
case Exp = 'exp';
136+
79137
case Expiration_Date = 'expirationDate';
138+
80139
case FederationFetchEndpoint = 'federation_fetch_endpoint';
140+
81141
case FederationListEndpoint = 'federation_list_endpoint';
142+
82143
case FederationTrustMarkEndpoint = 'federation_trust_mark_endpoint';
144+
83145
case FederationTrustMarkStatusEndpoint = 'federation_trust_mark_status_endpoint';
146+
84147
case Format = 'format';
148+
85149
case Grants = 'grants';
150+
86151
case GrantTypes = 'grant_types';
152+
87153
case GrantTypesSupported = 'grant_types_supported';
154+
88155
case HomepageUri = 'homepage_uri';
156+
89157
// IssuedAt
90158
case Iat = 'iat';
159+
91160
// Identifier
92161
case Id = 'id';
162+
93163
case InputMode = 'input_mode';
164+
94165
case IdTokenSigningAlgValuesSupported = 'id_token_signing_alg_values_supported';
166+
95167
case InformationUri = 'information_uri';
168+
96169
case IntrospectionEndpoint = 'introspection_endpoint';
170+
97171
case IntrospectionEndpointAuthMethodsSupported = 'introspection_endpoint_auth_methods_supported';
172+
98173
case IntrospectionEndpointAuthSigningAlgValuesSupported =
99174
'introspection_endpoint_auth_signing_alg_values_supported';
175+
100176
// Issuer
101177
case Iss = 'iss';
178+
102179
case Issuance_Date = 'issuanceDate';
180+
103181
case Issuer = 'issuer';
182+
104183
case IssuerState = 'issuer_state';
184+
105185
// JWT ID
106186
case Jti = 'jti';
187+
107188
// JsonWebKey
108189
case Jwk = 'jwk';
190+
109191
// JsonWebKeySet
110192
case Jwks = 'jwks';
193+
111194
case JwksUri = 'jwks_uri';
195+
112196
case Keywords = 'keywords';
197+
113198
// KeyId
114199
case Kid = 'kid';
200+
115201
case KeyAttestationsRequired = 'key_attestations_required';
202+
116203
case KeyStorage = 'key_storage';
204+
117205
case Keys = 'keys';
206+
118207
case Length = 'length';
208+
119209
case Locale = 'locale';
210+
120211
case Logo = 'logo';
212+
121213
case LogoUri = 'logo_uri';
214+
122215
case Mandatory = 'mandatory';
216+
123217
case Metadata = 'metadata';
218+
124219
case MetadataPolicy = 'metadata_policy';
220+
125221
// MetadataPolicyCritical
126222
case MetadataPolicyCrit = 'metadata_policy_crit';
223+
127224
case Name = 'name';
225+
128226
case Nonce = 'nonce';
227+
129228
case NonceEndpoint = 'nonce_endpoint';
229+
130230
// NotBefore
131231
case Nbf = 'nbf';
232+
132233
case Notification = 'notification';
234+
133235
case NotificationEndpoint = 'notification_endpoint';
236+
134237
// OpenIDProviderPolicyUri
135238
case OpPolicyUri = 'op_policy_uri';
239+
136240
// OpenIDProviderTermsOfServiceUri
137241
case OpTosUri = 'op_tos_uri';
242+
138243
case OrganizationName = 'organization_name';
244+
139245
case OrganizationUri = 'organization_uri';
246+
140247
case Path = 'path';
248+
141249
case PolicyUri = 'policy_uri';
250+
142251
case PostLogoutRedirectUris = 'post_logout_redirect_uris';
252+
143253
case PreAuthorizedCode = 'pre-authorized_code';
254+
144255
case PreAuthorizedGrantAnonymousAccessSupported = 'pre-authorized_grant_anonymous_access_supported';
256+
145257
case Proof = 'proof';
258+
146259
case Proofs = 'proofs';
260+
147261
// ProofSigningAlgorithmValuesSupported
148262
case ProofSigningAlgValuesSupported = 'proof_signing_alg_values_supported';
263+
149264
case ProofTypesSupported = 'proof_types_supported';
265+
150266
// Reference
151267
case Ref = 'ref';
268+
152269
case Refresh_Service = 'refreshService';
270+
153271
// PublicKeyUse
154272
case RedirectUris = 'redirect_uris';
273+
155274
case RegistrationEndpoint = 'registration_endpoint';
275+
156276
case RequestAuthenticationMethodsSupported = 'request_authentication_methods_supported';
277+
157278
case RequestAuthenticationSigningAlgValuesSupported = 'request_authentication_signing_alg_values_supported';
279+
158280
case RequestObjectSigningAlgValuesSupported = 'request_object_signing_alg_values_supported';
281+
159282
case RequestParameterSupported = 'request_parameter_supported';
283+
160284
case RequestUriParameterSupported = 'request_uri_parameter_supported';
285+
161286
case ResponseModesSupported = 'response_modes_supported';
287+
162288
case ResponseTypes = 'response_types';
289+
163290
case ResponseTypesSupported = 'response_types_supported';
291+
164292
case RevocationEndpoint = 'revocation_endpoint';
293+
165294
case RevocationEndpointAuthMethodsSupported = 'revocation_endpoint_auth_methods_supported';
295+
166296
case RevocationEndpointAuthSigningAlgValuesSupported = 'revocation_endpoint_auth_signing_alg_values_supported';
297+
167298
case Scope = 'scope';
299+
168300
case ScopesSupported = 'scopes_supported';
301+
169302
case ServiceDocumentation = 'service_documentation';
303+
170304
case SignedJwksUri = 'signed_jwks_uri';
305+
171306
case SignedMetadata = 'signed_metadata';
307+
172308
case Status = 'status';
309+
173310
// Subject
174311
case Sub = 'sub';
312+
175313
case SubjectTypesSupported = 'subject_types_supported';
314+
176315
case Terms_Of_Use = 'termsOfUse';
316+
177317
case TextColor = 'text_color';
318+
178319
case TokenEndpoint = 'token_endpoint';
320+
179321
case TokenEndpointAuthMethod = 'token_endpoint_auth_method';
322+
180323
case TokenEndpointAuthMethodsSupported = 'token_endpoint_auth_methods_supported';
324+
181325
case TokenEndpointAuthSigningAlgValuesSupported = 'token_endpoint_auth_signing_alg_values_supported';
326+
182327
// Type
183328
case Typ = 'typ';
329+
184330
case Type = 'type';
331+
185332
case TrustAnchorHints = 'trust_anchor_hints';
333+
186334
case TrustChain = 'trust_chain';
335+
187336
case TrustMark = 'trust_mark';
337+
188338
case TrustMarkIssuers = 'trust_mark_issuers';
339+
189340
case TrustMarkOwners = 'trust_mark_owners';
341+
190342
case TrustMarkType = 'trust_mark_type';
343+
191344
case TrustMarks = 'trust_marks';
345+
192346
// TransactionCode
193347
case TxCode = 'tx_code';
348+
194349
// UserInterfaceLocalesSupported
195350
case UiLocalesSupported = 'ui_locales_supported';
351+
196352
case Uri = 'uri';
353+
197354
case Use = 'use';
355+
198356
case UserAuthentication = 'user_authentication';
357+
199358
case UserinfoEndpoint = 'userinfo_endpoint';
359+
200360
// VerifiableCredential
201361
case Vc = 'vc';
362+
202363
// VerifiableCredentialType
203364
case Vct = 'vct';
365+
204366
// X509certificateChain
205367
case X5c = 'x5c';
206368
}

0 commit comments

Comments
 (0)