@atproto/oauth-types 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atproto/oauth-types
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2729](https://github.com/bluesky-social/atproto/pull/2729) [`35a126429`](https://github.com/bluesky-social/atproto/commit/35a1264297bc22acaa6e5ed3f4aed8c351be8bbb) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Avoid code duplication in the definition of OAuthEndpointName
8
+
3
9
  ## 0.1.2
4
10
 
5
11
  ### Patch Changes
@@ -5,5 +5,4 @@
5
5
  */
6
6
  export declare const ALLOW_UNSECURE_ORIGINS: boolean;
7
7
  export declare const CLIENT_ASSERTION_TYPE_JWT_BEARER = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
8
- export declare const OAUTH_AUTHENTICATED_ENDPOINT_NAMES: readonly ["token", "revocation", "introspection", "pushed_authorization_request"];
9
8
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,SAS/B,CAAA;AAEJ,eAAO,MAAM,gCAAgC,2DACa,CAAA;AAE1D,eAAO,MAAM,kCAAkC,mFAKrC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,SAS/B,CAAA;AAEJ,eAAO,MAAM,gCAAgC,2DACa,CAAA"}
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OAUTH_AUTHENTICATED_ENDPOINT_NAMES = exports.CLIENT_ASSERTION_TYPE_JWT_BEARER = exports.ALLOW_UNSECURE_ORIGINS = void 0;
3
+ exports.CLIENT_ASSERTION_TYPE_JWT_BEARER = exports.ALLOW_UNSECURE_ORIGINS = void 0;
4
4
  /**
5
5
  * A variable that allows to determine if unsecure origins should be allowed
6
6
  * in OAuth related URI's. This variable is only set to `true` when NODE_ENV
@@ -18,10 +18,4 @@ exports.ALLOW_UNSECURE_ORIGINS = (() => {
18
18
  }
19
19
  })();
20
20
  exports.CLIENT_ASSERTION_TYPE_JWT_BEARER = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
21
- exports.OAUTH_AUTHENTICATED_ENDPOINT_NAMES = [
22
- 'token',
23
- 'revocation',
24
- 'introspection',
25
- 'pushed_authorization_request',
26
- ];
27
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,sBAAsB,GAAG,CAAC,GAAG,EAAE;IAC1C,2EAA2E;IAC3E,4BAA4B;IAC5B,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAA;QAChC,OAAO,GAAG,KAAK,aAAa,IAAI,GAAG,KAAK,MAAM,CAAA;IAChD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC,CAAC,EAAE,CAAA;AAES,QAAA,gCAAgC,GAC3C,wDAAwD,CAAA;AAE7C,QAAA,kCAAkC,GAAG;IAChD,OAAO;IACP,YAAY;IACZ,eAAe;IACf,8BAA8B;CACtB,CAAA"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,sBAAsB,GAAG,CAAC,GAAG,EAAE;IAC1C,2EAA2E;IAC3E,4BAA4B;IAC5B,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAA;QAChC,OAAO,GAAG,KAAK,aAAa,IAAI,GAAG,KAAK,MAAM,CAAA;IAChD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC,CAAC,EAAE,CAAA;AAES,QAAA,gCAAgC,GAC3C,wDAAwD,CAAA"}
@@ -30,14 +30,8 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
30
30
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31
31
  token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32
32
  revocation_endpoint: z.ZodOptional<z.ZodString>;
33
- revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
- revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
33
  introspection_endpoint: z.ZodOptional<z.ZodString>;
36
- introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37
- introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
34
  pushed_authorization_request_endpoint: z.ZodOptional<z.ZodString>;
39
- pushed_authorization_request_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41
35
  require_pushed_authorization_requests: z.ZodOptional<z.ZodBoolean>;
42
36
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
43
37
  end_session_endpoint: z.ZodOptional<z.ZodString>;
@@ -73,14 +67,8 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
73
67
  token_endpoint_auth_methods_supported?: string[] | undefined;
74
68
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
75
69
  revocation_endpoint?: string | undefined;
76
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
77
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
78
70
  introspection_endpoint?: string | undefined;
79
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
80
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
81
71
  pushed_authorization_request_endpoint?: string | undefined;
82
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
83
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
84
72
  require_pushed_authorization_requests?: boolean | undefined;
85
73
  userinfo_endpoint?: string | undefined;
86
74
  end_session_endpoint?: string | undefined;
@@ -116,14 +104,8 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
116
104
  token_endpoint_auth_methods_supported?: string[] | undefined;
117
105
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
118
106
  revocation_endpoint?: string | undefined;
119
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
120
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
121
107
  introspection_endpoint?: string | undefined;
122
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
123
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
124
108
  pushed_authorization_request_endpoint?: string | undefined;
125
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
126
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
127
109
  require_pushed_authorization_requests?: boolean | undefined;
128
110
  userinfo_endpoint?: string | undefined;
129
111
  end_session_endpoint?: string | undefined;
@@ -161,14 +143,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
161
143
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
144
  token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
163
145
  revocation_endpoint: z.ZodOptional<z.ZodString>;
164
- revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
- revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
166
146
  introspection_endpoint: z.ZodOptional<z.ZodString>;
167
- introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
- introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
169
147
  pushed_authorization_request_endpoint: z.ZodOptional<z.ZodString>;
170
- pushed_authorization_request_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
171
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
172
148
  require_pushed_authorization_requests: z.ZodOptional<z.ZodBoolean>;
173
149
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
174
150
  end_session_endpoint: z.ZodOptional<z.ZodString>;
@@ -204,14 +180,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
204
180
  token_endpoint_auth_methods_supported?: string[] | undefined;
205
181
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
206
182
  revocation_endpoint?: string | undefined;
207
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
208
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
209
183
  introspection_endpoint?: string | undefined;
210
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
211
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
212
184
  pushed_authorization_request_endpoint?: string | undefined;
213
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
214
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
215
185
  require_pushed_authorization_requests?: boolean | undefined;
216
186
  userinfo_endpoint?: string | undefined;
217
187
  end_session_endpoint?: string | undefined;
@@ -247,14 +217,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
247
217
  token_endpoint_auth_methods_supported?: string[] | undefined;
248
218
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
249
219
  revocation_endpoint?: string | undefined;
250
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
251
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
252
220
  introspection_endpoint?: string | undefined;
253
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
254
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
255
221
  pushed_authorization_request_endpoint?: string | undefined;
256
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
257
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
258
222
  require_pushed_authorization_requests?: boolean | undefined;
259
223
  userinfo_endpoint?: string | undefined;
260
224
  end_session_endpoint?: string | undefined;
@@ -290,14 +254,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
290
254
  token_endpoint_auth_methods_supported?: string[] | undefined;
291
255
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
292
256
  revocation_endpoint?: string | undefined;
293
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
294
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
295
257
  introspection_endpoint?: string | undefined;
296
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
297
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
298
258
  pushed_authorization_request_endpoint?: string | undefined;
299
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
300
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
301
259
  require_pushed_authorization_requests?: boolean | undefined;
302
260
  userinfo_endpoint?: string | undefined;
303
261
  end_session_endpoint?: string | undefined;
@@ -333,14 +291,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
333
291
  token_endpoint_auth_methods_supported?: string[] | undefined;
334
292
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
335
293
  revocation_endpoint?: string | undefined;
336
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
337
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
338
294
  introspection_endpoint?: string | undefined;
339
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
340
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
341
295
  pushed_authorization_request_endpoint?: string | undefined;
342
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
343
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
344
296
  require_pushed_authorization_requests?: boolean | undefined;
345
297
  userinfo_endpoint?: string | undefined;
346
298
  end_session_endpoint?: string | undefined;
@@ -376,14 +328,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
376
328
  token_endpoint_auth_methods_supported?: string[] | undefined;
377
329
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
378
330
  revocation_endpoint?: string | undefined;
379
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
380
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
381
331
  introspection_endpoint?: string | undefined;
382
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
383
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
384
332
  pushed_authorization_request_endpoint?: string | undefined;
385
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
386
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
387
333
  require_pushed_authorization_requests?: boolean | undefined;
388
334
  userinfo_endpoint?: string | undefined;
389
335
  end_session_endpoint?: string | undefined;
@@ -419,14 +365,8 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
419
365
  token_endpoint_auth_methods_supported?: string[] | undefined;
420
366
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
421
367
  revocation_endpoint?: string | undefined;
422
- revocation_endpoint_auth_methods_supported?: string[] | undefined;
423
- revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
424
368
  introspection_endpoint?: string | undefined;
425
- introspection_endpoint_auth_methods_supported?: string[] | undefined;
426
- introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
427
369
  pushed_authorization_request_endpoint?: string | undefined;
428
- pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
429
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
430
370
  require_pushed_authorization_requests?: boolean | undefined;
431
371
  userinfo_endpoint?: string | undefined;
432
372
  end_session_endpoint?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwEjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBhD,CAAA"}
1
+ {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBhD,CAAA"}
@@ -40,22 +40,8 @@ exports.oauthAuthorizationServerMetadataSchema = zod_1.z.object({
40
40
  .array(zod_1.z.string())
41
41
  .optional(),
42
42
  revocation_endpoint: zod_1.z.string().url().optional(),
43
- revocation_endpoint_auth_methods_supported: zod_1.z.array(zod_1.z.string()).optional(),
44
- revocation_endpoint_auth_signing_alg_values_supported: zod_1.z
45
- .array(zod_1.z.string())
46
- .optional(),
47
43
  introspection_endpoint: zod_1.z.string().url().optional(),
48
- introspection_endpoint_auth_methods_supported: zod_1.z.array(zod_1.z.string()).optional(),
49
- introspection_endpoint_auth_signing_alg_values_supported: zod_1.z
50
- .array(zod_1.z.string())
51
- .optional(),
52
44
  pushed_authorization_request_endpoint: zod_1.z.string().url().optional(),
53
- pushed_authorization_request_endpoint_auth_methods_supported: zod_1.z
54
- .array(zod_1.z.string())
55
- .optional(),
56
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported: zod_1.z
57
- .array(zod_1.z.string())
58
- .optional(),
59
45
  require_pushed_authorization_requests: zod_1.z.boolean().optional(),
60
46
  userinfo_endpoint: zod_1.z.string().url().optional(),
61
47
  end_session_endpoint: zod_1.z.string().url().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-server-metadata.js","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,6EAA0E;AAE1E;;GAEG;AACU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7D,MAAM,EAAE,wDAA2B;IAEnC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,wBAAwB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,0BAA0B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClD,2BAA2B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnD,+BAA+B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvD,gCAAgC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,uBAAuB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,wBAAwB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,wBAAwB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,qBAAqB,EAAE,OAAC,CAAC,KAAK,C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CAAC,CAAA"}
@@ -6,12 +6,6 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
6
6
  scope: z.ZodOptional<z.ZodString>;
7
7
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>>;
8
8
  token_endpoint_auth_signing_alg: z.ZodOptional<z.ZodString>;
9
- introspection_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>;
10
- introspection_endpoint_auth_signing_alg: z.ZodOptional<z.ZodString>;
11
- revocation_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>;
12
- revocation_endpoint_auth_signing_alg: z.ZodOptional<z.ZodString>;
13
- pushed_authorization_request_endpoint_auth_method: z.ZodOptional<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>;
14
- pushed_authorization_request_endpoint_auth_signing_alg: z.ZodOptional<z.ZodString>;
15
9
  userinfo_signed_response_alg: z.ZodOptional<z.ZodString>;
16
10
  userinfo_encrypted_response_alg: z.ZodOptional<z.ZodString>;
17
11
  jwks_uri: z.ZodOptional<z.ZodString>;
@@ -1311,12 +1305,6 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
1311
1305
  scope?: string | undefined;
1312
1306
  token_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1313
1307
  token_endpoint_auth_signing_alg?: string | undefined;
1314
- introspection_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1315
- introspection_endpoint_auth_signing_alg?: string | undefined;
1316
- revocation_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1317
- revocation_endpoint_auth_signing_alg?: string | undefined;
1318
- pushed_authorization_request_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1319
- pushed_authorization_request_endpoint_auth_signing_alg?: string | undefined;
1320
1308
  userinfo_signed_response_alg?: string | undefined;
1321
1309
  userinfo_encrypted_response_alg?: string | undefined;
1322
1310
  jwks_uri?: string | undefined;
@@ -1444,12 +1432,6 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
1444
1432
  scope?: string | undefined;
1445
1433
  token_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1446
1434
  token_endpoint_auth_signing_alg?: string | undefined;
1447
- introspection_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1448
- introspection_endpoint_auth_signing_alg?: string | undefined;
1449
- revocation_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1450
- revocation_endpoint_auth_signing_alg?: string | undefined;
1451
- pushed_authorization_request_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1452
- pushed_authorization_request_endpoint_auth_signing_alg?: string | undefined;
1453
1435
  userinfo_signed_response_alg?: string | undefined;
1454
1436
  userinfo_encrypted_response_alg?: string | undefined;
1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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCpC;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWH,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAC3E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -28,12 +28,6 @@ exports.oauthClientMetadataSchema = zod_1.z.object({
28
28
  .default('none')
29
29
  .optional(),
30
30
  token_endpoint_auth_signing_alg: zod_1.z.string().optional(),
31
- introspection_endpoint_auth_method: oauth_endpoint_auth_method_js_1.oauthEndpointAuthMethod.optional(),
32
- introspection_endpoint_auth_signing_alg: zod_1.z.string().optional(),
33
- revocation_endpoint_auth_method: oauth_endpoint_auth_method_js_1.oauthEndpointAuthMethod.optional(),
34
- revocation_endpoint_auth_signing_alg: zod_1.z.string().optional(),
35
- pushed_authorization_request_endpoint_auth_method: oauth_endpoint_auth_method_js_1.oauthEndpointAuthMethod.optional(),
36
- pushed_authorization_request_endpoint_auth_signing_alg: zod_1.z.string().optional(),
37
31
  userinfo_signed_response_alg: zod_1.z.string().optional(),
38
32
  userinfo_encrypted_response_alg: zod_1.z.string().optional(),
39
33
  jwks_uri: zod_1.z.string().url().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-client-metadata.js","sourceRoot":"","sources":["../src/oauth-client-metadata.ts"],"names":[],"mappings":";;;AAAA,sCAA4C;AAC5C,6BAAuB;AAEvB,6DAA0D;AAC1D,mFAAyE;AACzE,+DAA4D;AAC5D,qEAAkE;AAElE,gEAAgE;AAChE,gDAAgD;AACnC,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,cAAc,EAAE,OAAC;SACd,KAAK,CAAC,gDAAuB,CAAC;SAC9B,QAAQ,EAAE;QACX,wEAAwE;QACxE,mBAAmB;SAClB,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACpB,WAAW,EAAE,OAAC;SACX,KAAK,CAAC,0CAAoB,CAAC;SAC3B,QAAQ,EAAE;QACX,0EAA0E;QAC1E,qCAAqC;SACpC,OAAO,CAAC,CAAC,oBAAoB,CAAC,CAAC;IAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,0BAA0B,EAAE,uDAAuB;SAChD,OAAO,CAAC,MAAM,CAAC;SACf,QAAQ,EAAE;IACb,+BAA+B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtD,kCAAkC,EAAE,uDAAuB,CAAC,QAAQ,EAAE;IACtE,uCAAuC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9D,+BAA+B,EAAE,uDAAuB,CAAC,QAAQ,EAAE;IACnE,oCAAoC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EA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E,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3D,SAAS,EAAE,wCAAmB,CAAC,QAAQ,EAAE;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAErC;;;;;;OAMG;IACH,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,0CAA0C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAElE,4DAA4D;IAC5D,wBAAwB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAEhD,6DAA6D;IAC7D,2BAA2B,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAA"}
@@ -1,2 +1,3 @@
1
- export type OAuthEndpointName = 'token' | 'revocation' | 'introspection' | 'pushed_authorization_request';
1
+ export declare const OAUTH_ENDPOINT_NAMES: readonly ["token", "revocation", "introspection", "pushed_authorization_request"];
2
+ export type OAuthEndpointName = (typeof OAUTH_ENDPOINT_NAMES)[number];
2
3
  //# sourceMappingURL=oauth-endpoint-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-endpoint-name.d.ts","sourceRoot":"","sources":["../src/oauth-endpoint-name.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,YAAY,GACZ,eAAe,GACf,8BAA8B,CAAA"}
1
+ {"version":3,"file":"oauth-endpoint-name.d.ts","sourceRoot":"","sources":["../src/oauth-endpoint-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,mFAKvB,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -1,3 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OAUTH_ENDPOINT_NAMES = void 0;
4
+ exports.OAUTH_ENDPOINT_NAMES = [
5
+ 'token',
6
+ 'revocation',
7
+ 'introspection',
8
+ 'pushed_authorization_request',
9
+ ];
3
10
  //# sourceMappingURL=oauth-endpoint-name.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-endpoint-name.js","sourceRoot":"","sources":["../src/oauth-endpoint-name.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"oauth-endpoint-name.js","sourceRoot":"","sources":["../src/oauth-endpoint-name.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,OAAO;IACP,YAAY;IACZ,eAAe;IACf,8BAA8B;CACtB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-types",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "license": "MIT",
5
5
  "description": "OAuth typing & validation library",
6
6
  "keywords": [
package/src/constants.ts CHANGED
@@ -16,10 +16,3 @@ export const ALLOW_UNSECURE_ORIGINS = (() => {
16
16
 
17
17
  export const CLIENT_ASSERTION_TYPE_JWT_BEARER =
18
18
  'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
19
-
20
- export const OAUTH_AUTHENTICATED_ENDPOINT_NAMES = [
21
- 'token',
22
- 'revocation',
23
- 'introspection',
24
- 'pushed_authorization_request',
25
- ] as const
@@ -44,24 +44,8 @@ export const oauthAuthorizationServerMetadataSchema = z.object({
44
44
  .optional(),
45
45
 
46
46
  revocation_endpoint: z.string().url().optional(),
47
- revocation_endpoint_auth_methods_supported: z.array(z.string()).optional(),
48
- revocation_endpoint_auth_signing_alg_values_supported: z
49
- .array(z.string())
50
- .optional(),
51
-
52
47
  introspection_endpoint: z.string().url().optional(),
53
- introspection_endpoint_auth_methods_supported: z.array(z.string()).optional(),
54
- introspection_endpoint_auth_signing_alg_values_supported: z
55
- .array(z.string())
56
- .optional(),
57
-
58
48
  pushed_authorization_request_endpoint: z.string().url().optional(),
59
- pushed_authorization_request_endpoint_auth_methods_supported: z
60
- .array(z.string())
61
- .optional(),
62
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported: z
63
- .array(z.string())
64
- .optional(),
65
49
 
66
50
  require_pushed_authorization_requests: z.boolean().optional(),
67
51
 
@@ -27,13 +27,6 @@ export const oauthClientMetadataSchema = z.object({
27
27
  .default('none')
28
28
  .optional(),
29
29
  token_endpoint_auth_signing_alg: z.string().optional(),
30
- introspection_endpoint_auth_method: oauthEndpointAuthMethod.optional(),
31
- introspection_endpoint_auth_signing_alg: z.string().optional(),
32
- revocation_endpoint_auth_method: oauthEndpointAuthMethod.optional(),
33
- revocation_endpoint_auth_signing_alg: z.string().optional(),
34
- pushed_authorization_request_endpoint_auth_method:
35
- oauthEndpointAuthMethod.optional(),
36
- pushed_authorization_request_endpoint_auth_signing_alg: z.string().optional(),
37
30
  userinfo_signed_response_alg: z.string().optional(),
38
31
  userinfo_encrypted_response_alg: z.string().optional(),
39
32
  jwks_uri: z.string().url().optional(),
@@ -1,5 +1,8 @@
1
- export type OAuthEndpointName =
2
- | 'token'
3
- | 'revocation'
4
- | 'introspection'
5
- | 'pushed_authorization_request'
1
+ export const OAUTH_ENDPOINT_NAMES = [
2
+ 'token',
3
+ 'revocation',
4
+ 'introspection',
5
+ 'pushed_authorization_request',
6
+ ] as const
7
+
8
+ export type OAuthEndpointName = (typeof OAUTH_ENDPOINT_NAMES)[number]