@atproto/oauth-types 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +44 -0
- package/dist/atproto-loopback-client-metadata.d.ts.map +1 -1
- package/dist/atproto-loopback-client-metadata.js +4 -16
- package/dist/atproto-loopback-client-metadata.js.map +1 -1
- package/dist/constants.d.ts +0 -6
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -17
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +18 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/dist/oauth-access-token.d.ts +4 -0
- package/dist/oauth-access-token.d.ts.map +1 -0
- package/dist/oauth-access-token.js +6 -0
- package/dist/oauth-access-token.js.map +1 -0
- package/dist/oauth-authorization-code-grant-token-request.d.ts +20 -0
- package/dist/oauth-authorization-code-grant-token-request.d.ts.map +1 -0
- package/dist/oauth-authorization-code-grant-token-request.js +17 -0
- package/dist/oauth-authorization-code-grant-token-request.js.map +1 -0
- package/dist/oauth-authorization-request-jar.d.ts +16 -0
- package/dist/oauth-authorization-request-jar.d.ts.map +1 -0
- package/dist/oauth-authorization-request-jar.js +15 -0
- package/dist/oauth-authorization-request-jar.js.map +1 -0
- package/dist/oauth-authorization-request-par.d.ts +122 -0
- package/dist/oauth-authorization-request-par.d.ts.map +1 -0
- package/dist/oauth-authorization-request-par.js +11 -0
- package/dist/oauth-authorization-request-par.js.map +1 -0
- package/dist/{oauth-authentication-request-parameters.d.ts → oauth-authorization-request-parameters.d.ts} +18 -18
- package/dist/oauth-authorization-request-parameters.d.ts.map +1 -0
- package/dist/{oauth-authentication-request-parameters.js → oauth-authorization-request-parameters.js} +16 -17
- package/dist/oauth-authorization-request-parameters.js.map +1 -0
- package/dist/oauth-authorization-request-query.d.ts +128 -0
- package/dist/oauth-authorization-request-query.d.ts.map +1 -0
- package/dist/oauth-authorization-request-query.js +13 -0
- package/dist/oauth-authorization-request-query.js.map +1 -0
- package/dist/oauth-authorization-request-uri.d.ts +10 -0
- package/dist/oauth-authorization-request-uri.d.ts.map +1 -0
- package/dist/oauth-authorization-request-uri.js +9 -0
- package/dist/oauth-authorization-request-uri.js.map +1 -0
- package/dist/oauth-authorization-server-metadata.d.ts +16 -16
- package/dist/oauth-authorization-server-metadata.d.ts.map +1 -1
- package/dist/oauth-authorization-server-metadata.js +5 -1
- package/dist/oauth-authorization-server-metadata.js.map +1 -1
- package/dist/oauth-client-credentials-grant-token-request.d.ts +10 -0
- package/dist/oauth-client-credentials-grant-token-request.d.ts.map +1 -0
- package/dist/oauth-client-credentials-grant-token-request.js +8 -0
- package/dist/oauth-client-credentials-grant-token-request.js.map +1 -0
- package/dist/oauth-client-credentials.d.ts +18 -2
- package/dist/oauth-client-credentials.d.ts.map +1 -1
- package/dist/oauth-client-credentials.js +8 -2
- package/dist/oauth-client-credentials.js.map +1 -1
- package/dist/oauth-client-id-discoverable.d.ts +3 -2
- package/dist/oauth-client-id-discoverable.d.ts.map +1 -1
- package/dist/oauth-client-id-discoverable.js +22 -20
- package/dist/oauth-client-id-discoverable.js.map +1 -1
- package/dist/oauth-client-id-loopback.d.ts +10 -3
- package/dist/oauth-client-id-loopback.d.ts.map +1 -1
- package/dist/oauth-client-id-loopback.js +59 -23
- package/dist/oauth-client-id-loopback.js.map +1 -1
- package/dist/oauth-client-metadata.d.ts +91 -91
- package/dist/oauth-client-metadata.d.ts.map +1 -1
- package/dist/oauth-client-metadata.js +2 -1
- package/dist/oauth-client-metadata.js.map +1 -1
- package/dist/oauth-code-challenge-method.d.ts +3 -0
- package/dist/oauth-code-challenge-method.d.ts.map +1 -0
- package/dist/oauth-code-challenge-method.js +6 -0
- package/dist/oauth-code-challenge-method.js.map +1 -0
- package/dist/oauth-introspection-response.d.ts +20 -0
- package/dist/oauth-introspection-response.d.ts.map +1 -0
- package/dist/oauth-introspection-response.js +3 -0
- package/dist/oauth-introspection-response.js.map +1 -0
- package/dist/oauth-issuer-identifier.d.ts +2 -1
- package/dist/oauth-issuer-identifier.d.ts.map +1 -1
- package/dist/oauth-issuer-identifier.js +13 -12
- package/dist/oauth-issuer-identifier.js.map +1 -1
- package/dist/oauth-par-response.d.ts +3 -0
- package/dist/oauth-par-response.d.ts.map +1 -1
- package/dist/oauth-par-response.js +1 -0
- package/dist/oauth-par-response.js.map +1 -1
- package/dist/oauth-password-grant-token-request.d.ts +16 -0
- package/dist/oauth-password-grant-token-request.d.ts.map +1 -0
- package/dist/oauth-password-grant-token-request.js +10 -0
- package/dist/oauth-password-grant-token-request.js.map +1 -0
- package/dist/oauth-protected-resource-metadata.d.ts +2 -2
- package/dist/oauth-refresh-token-grant-token-request.d.ts +13 -0
- package/dist/oauth-refresh-token-grant-token-request.d.ts.map +1 -0
- package/dist/oauth-refresh-token-grant-token-request.js +10 -0
- package/dist/oauth-refresh-token-grant-token-request.js.map +1 -0
- package/dist/oauth-refresh-token.d.ts +4 -0
- package/dist/oauth-refresh-token.d.ts.map +1 -0
- package/dist/oauth-refresh-token.js +6 -0
- package/dist/oauth-refresh-token.js.map +1 -0
- package/dist/oauth-request-uri.d.ts +4 -0
- package/dist/oauth-request-uri.d.ts.map +1 -0
- package/dist/oauth-request-uri.js +6 -0
- package/dist/oauth-request-uri.js.map +1 -0
- package/dist/oauth-scope.d.ts +10 -0
- package/dist/oauth-scope.d.ts.map +1 -0
- package/dist/oauth-scope.js +16 -0
- package/dist/oauth-scope.js.map +1 -0
- package/dist/oauth-token-identification.d.ts +13 -0
- package/dist/oauth-token-identification.d.ts.map +1 -0
- package/dist/oauth-token-identification.js +11 -0
- package/dist/oauth-token-identification.js.map +1 -0
- package/dist/oauth-token-request.d.ts +46 -0
- package/dist/oauth-token-request.d.ts.map +1 -0
- package/dist/oauth-token-request.js +15 -0
- package/dist/oauth-token-request.js.map +1 -0
- package/dist/oauth-token-response.d.ts +3 -6
- package/dist/oauth-token-response.d.ts.map +1 -1
- package/dist/oauth-token-response.js +4 -2
- package/dist/oauth-token-response.js.map +1 -1
- package/dist/util.d.ts +2 -1
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +36 -6
- package/dist/util.js.map +1 -1
- package/package.json +2 -2
- package/src/atproto-loopback-client-metadata.ts +7 -20
- package/src/constants.ts +0 -16
- package/src/index.ts +18 -5
- package/src/oauth-access-token.ts +4 -0
- package/src/oauth-authorization-code-grant-token-request.ts +18 -0
- package/src/oauth-authorization-request-jar.ts +16 -0
- package/src/oauth-authorization-request-par.ts +13 -0
- package/src/{oauth-authentication-request-parameters.ts → oauth-authorization-request-parameters.ts} +21 -22
- package/src/oauth-authorization-request-query.ts +15 -0
- package/src/oauth-authorization-request-uri.ts +11 -0
- package/src/oauth-authorization-server-metadata.ts +5 -1
- package/src/oauth-client-credentials-grant-token-request.ts +9 -0
- package/src/oauth-client-credentials.ts +21 -1
- package/src/oauth-client-id-discoverable.ts +29 -26
- package/src/oauth-client-id-loopback.ts +78 -30
- package/src/oauth-client-metadata.ts +2 -1
- package/src/oauth-code-challenge-method.ts +3 -0
- package/src/oauth-introspection-response.ts +23 -0
- package/src/oauth-issuer-identifier.ts +17 -12
- package/src/oauth-par-response.ts +1 -0
- package/src/oauth-password-grant-token-request.ts +11 -0
- package/src/oauth-refresh-token-grant-token-request.ts +11 -0
- package/src/oauth-refresh-token.ts +4 -0
- package/src/oauth-request-uri.ts +5 -0
- package/src/oauth-scope.ts +15 -0
- package/src/oauth-token-identification.ts +12 -0
- package/src/oauth-token-request.ts +14 -0
- package/src/oauth-token-response.ts +4 -2
- package/src/util.ts +41 -1
- package/tsconfig.build.tsbuildinfo +1 -0
- package/dist/access-token.d.ts +0 -4
- package/dist/access-token.d.ts.map +0 -1
- package/dist/access-token.js +0 -6
- package/dist/access-token.js.map +0 -1
- package/dist/oauth-authentication-request-parameters.d.ts.map +0 -1
- package/dist/oauth-authentication-request-parameters.js.map +0 -1
- package/dist/oauth-client-id-url.d.ts +0 -3
- package/dist/oauth-client-id-url.d.ts.map +0 -1
- package/dist/oauth-client-id-url.js +0 -21
- package/dist/oauth-client-id-url.js.map +0 -1
- package/dist/oauth-client-identification.d.ts +0 -31
- package/dist/oauth-client-identification.d.ts.map +0 -1
- package/dist/oauth-client-identification.js +0 -12
- package/dist/oauth-client-identification.js.map +0 -1
- package/src/access-token.ts +0 -4
- package/src/oauth-client-id-url.ts +0 -25
- package/src/oauth-client-identification.ts +0 -14
@@ -1,38 +1,37 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.oauthAuthorizationRequestParametersSchema = void 0;
|
4
4
|
const jwk_1 = require("@atproto/jwk");
|
5
5
|
const zod_1 = require("zod");
|
6
6
|
const oauth_authorization_details_js_1 = require("./oauth-authorization-details.js");
|
7
7
|
const oauth_client_id_js_1 = require("./oauth-client-id.js");
|
8
|
+
const oauth_code_challenge_method_js_1 = require("./oauth-code-challenge-method.js");
|
8
9
|
const oauth_response_type_js_1 = require("./oauth-response-type.js");
|
10
|
+
const oauth_scope_js_1 = require("./oauth-scope.js");
|
9
11
|
const oidc_claims_parameter_js_1 = require("./oidc-claims-parameter.js");
|
10
12
|
const oidc_claims_properties_js_1 = require("./oidc-claims-properties.js");
|
11
13
|
const oidc_entity_type_js_1 = require("./oidc-entity-type.js");
|
12
14
|
/**
|
13
15
|
* @see {@link https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest | OIDC}
|
14
16
|
*/
|
15
|
-
exports.
|
17
|
+
exports.oauthAuthorizationRequestParametersSchema = zod_1.z.object({
|
16
18
|
client_id: oauth_client_id_js_1.oauthClientIdSchema,
|
17
19
|
state: zod_1.z.string().optional(),
|
18
|
-
|
19
|
-
|
20
|
+
redirect_uri: zod_1.z.string().url().optional(),
|
21
|
+
scope: oauth_scope_js_1.oauthScopeSchema.optional(),
|
20
22
|
response_type: oauth_response_type_js_1.oauthResponseTypeSchema,
|
21
|
-
// Default depend on response_type
|
22
|
-
response_mode: zod_1.z.enum(['query', 'fragment', 'form_post']).optional(),
|
23
23
|
// PKCE
|
24
24
|
code_challenge: zod_1.z.string().optional(),
|
25
|
-
code_challenge_method:
|
26
|
-
|
27
|
-
// https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-11#section-1.4.1
|
28
|
-
// scope = scope-token *( SP scope-token )
|
29
|
-
// scope-token = 1*( %x21 / %x23-5B / %x5D-7E )
|
30
|
-
// = Basically most ASCII characters except backslash and double quote
|
31
|
-
scope: zod_1.z
|
32
|
-
.string()
|
33
|
-
.regex(/^[!\x23-\x5B\x5D-\x7E]+( [!\x23-\x5B\x5D-\x7E]+)*$/)
|
25
|
+
code_challenge_method: oauth_code_challenge_method_js_1.oauthCodeChallengeMethodSchema
|
26
|
+
.default('S256')
|
34
27
|
.optional(),
|
28
|
+
// DPOP
|
29
|
+
// https://datatracker.ietf.org/doc/html/rfc9449#section-12.3
|
30
|
+
dpop_jkt: zod_1.z.string().optional(),
|
35
31
|
// OIDC
|
32
|
+
// Default depend on response_type
|
33
|
+
response_mode: zod_1.z.enum(['query', 'fragment', 'form_post']).optional(),
|
34
|
+
nonce: zod_1.z.string().optional(),
|
36
35
|
// Specifies the allowable elapsed time in seconds since the last time the
|
37
36
|
// End-User was actively authenticated by the OP. If the elapsed time is
|
38
37
|
// greater than this value, the OP MUST attempt to actively re-authenticate
|
@@ -55,7 +54,7 @@ exports.oauthAuthenticationRequestParametersSchema = zod_1.z.object({
|
|
55
54
|
// Previous ID Token, should be provided when prompt=none is used
|
56
55
|
id_token_hint: jwk_1.signedJwtSchema.optional(),
|
57
56
|
// Type of UI the AS is displayed on
|
58
|
-
display: zod_1.z.enum(['page', 'popup', 'touch']).optional(),
|
57
|
+
display: zod_1.z.enum(['page', 'popup', 'touch', 'wap']).optional(),
|
59
58
|
/**
|
60
59
|
* - "none" will only be allowed if the user already allowed the client on the same device
|
61
60
|
* - "login" will force the user to login again, unless he very recently logged in
|
@@ -66,4 +65,4 @@ exports.oauthAuthenticationRequestParametersSchema = zod_1.z.object({
|
|
66
65
|
// https://datatracker.ietf.org/doc/html/rfc9396
|
67
66
|
authorization_details: oauth_authorization_details_js_1.oauthAuthorizationDetailsSchema.optional(),
|
68
67
|
});
|
69
|
-
//# sourceMappingURL=oauth-
|
68
|
+
//# sourceMappingURL=oauth-authorization-request-parameters.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-authorization-request-parameters.js","sourceRoot":"","sources":["../src/oauth-authorization-request-parameters.ts"],"names":[],"mappings":";;;AAAA,sCAA8C;AAC9C,6BAAuB;AAEvB,qFAAkF;AAClF,6DAA0D;AAC1D,qFAAiF;AACjF,qEAAkE;AAClE,qDAAmD;AACnD,yEAAsE;AACtE,2EAAwE;AACxE,+DAA4D;AAE5D;;GAEG;AACU,QAAA,yCAAyC,GAAG,OAAC,CAAC,MAAM,CAAC;IAChE,SAAS,EAAE,wCAAmB;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,KAAK,EAAE,iCAAgB,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,gDAAuB;IAEtC,OAAO;IAEP,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,qBAAqB,EAAE,+DAA8B;SAClD,OAAO,CAAC,MAAM,CAAC;SACf,QAAQ,EAAE;IAEb,OAAO;IAEP,6DAA6D;IAC7D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE/B,OAAO;IAEP,kCAAkC;IAClC,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE;IAEpE,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE5B,0EAA0E;IAC1E,wEAAwE;IACxE,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redirect_uri: z.ZodOptional<z.ZodString>;
|
6
|
+
scope: z.ZodOptional<z.ZodString>;
|
7
|
+
response_type: z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>;
|
8
|
+
code_challenge: z.ZodOptional<z.ZodString>;
|
9
|
+
code_challenge_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["S256", "plain"]>>>;
|
10
|
+
dpop_jkt: z.ZodOptional<z.ZodString>;
|
11
|
+
response_mode: z.ZodOptional<z.ZodEnum<["query", "fragment", "form_post"]>>;
|
12
|
+
nonce: z.ZodOptional<z.ZodString>;
|
13
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
14
|
+
claims: z.ZodOptional<z.ZodRecord<z.ZodEnum<["userinfo", "id_token"]>, z.ZodRecord<z.ZodEnum<["auth_time", "nonce", "acr", "name", "family_name", "given_name", "middle_name", "nickname", "preferred_username", "gender", "picture", "profile", "website", "birthdate", "zoneinfo", "locale", "updated_at", "email", "email_verified", "phone_number", "phone_number_verified", "address"]>, z.ZodUnion<[z.ZodLiteral<null>, z.ZodObject<{
|
15
|
+
essential: z.ZodOptional<z.ZodBoolean>;
|
16
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
17
|
+
values: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">>;
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
19
|
+
values?: (string | number | boolean)[] | undefined;
|
20
|
+
value?: string | number | boolean | undefined;
|
21
|
+
essential?: boolean | undefined;
|
22
|
+
}, {
|
23
|
+
values?: (string | number | boolean)[] | undefined;
|
24
|
+
value?: string | number | boolean | undefined;
|
25
|
+
essential?: boolean | undefined;
|
26
|
+
}>]>>>>;
|
27
|
+
login_hint: z.ZodOptional<z.ZodString>;
|
28
|
+
ui_locales: z.ZodOptional<z.ZodString>;
|
29
|
+
id_token_hint: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
30
|
+
display: z.ZodOptional<z.ZodEnum<["page", "popup", "touch", "wap"]>>;
|
31
|
+
prompt: z.ZodOptional<z.ZodEnum<["none", "login", "consent", "select_account"]>>;
|
32
|
+
authorization_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
33
|
+
type: z.ZodString;
|
34
|
+
locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
35
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
36
|
+
datatypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
37
|
+
identifier: z.ZodOptional<z.ZodString>;
|
38
|
+
privileges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
40
|
+
type: string;
|
41
|
+
locations?: string[] | undefined;
|
42
|
+
actions?: string[] | undefined;
|
43
|
+
datatypes?: string[] | undefined;
|
44
|
+
identifier?: string | undefined;
|
45
|
+
privileges?: string[] | undefined;
|
46
|
+
}, {
|
47
|
+
type: string;
|
48
|
+
locations?: string[] | undefined;
|
49
|
+
actions?: string[] | undefined;
|
50
|
+
datatypes?: string[] | undefined;
|
51
|
+
identifier?: string | undefined;
|
52
|
+
privileges?: string[] | undefined;
|
53
|
+
}>, "many">>;
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
55
|
+
client_id: string;
|
56
|
+
response_type: "code" | "none" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token";
|
57
|
+
redirect_uri?: string | undefined;
|
58
|
+
scope?: string | undefined;
|
59
|
+
nonce?: string | undefined;
|
60
|
+
state?: string | undefined;
|
61
|
+
code_challenge?: string | undefined;
|
62
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
63
|
+
dpop_jkt?: string | undefined;
|
64
|
+
response_mode?: "query" | "fragment" | "form_post" | undefined;
|
65
|
+
max_age?: number | undefined;
|
66
|
+
claims?: Partial<Record<"id_token" | "userinfo", Partial<Record<"auth_time" | "nonce" | "acr" | "name" | "family_name" | "given_name" | "middle_name" | "nickname" | "preferred_username" | "gender" | "picture" | "profile" | "website" | "birthdate" | "zoneinfo" | "locale" | "updated_at" | "email" | "email_verified" | "phone_number" | "phone_number_verified" | "address", {
|
67
|
+
values?: (string | number | boolean)[] | undefined;
|
68
|
+
value?: string | number | boolean | undefined;
|
69
|
+
essential?: boolean | undefined;
|
70
|
+
} | null>>>> | undefined;
|
71
|
+
login_hint?: string | undefined;
|
72
|
+
ui_locales?: string | undefined;
|
73
|
+
id_token_hint?: `${string}.${string}.${string}` | undefined;
|
74
|
+
display?: "page" | "popup" | "touch" | "wap" | undefined;
|
75
|
+
prompt?: "none" | "login" | "consent" | "select_account" | undefined;
|
76
|
+
authorization_details?: {
|
77
|
+
type: string;
|
78
|
+
locations?: string[] | undefined;
|
79
|
+
actions?: string[] | undefined;
|
80
|
+
datatypes?: string[] | undefined;
|
81
|
+
identifier?: string | undefined;
|
82
|
+
privileges?: string[] | undefined;
|
83
|
+
}[] | undefined;
|
84
|
+
}, {
|
85
|
+
client_id: string;
|
86
|
+
response_type: "code" | "none" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token";
|
87
|
+
redirect_uri?: string | undefined;
|
88
|
+
scope?: string | undefined;
|
89
|
+
nonce?: string | undefined;
|
90
|
+
state?: string | undefined;
|
91
|
+
code_challenge?: string | undefined;
|
92
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
93
|
+
dpop_jkt?: string | undefined;
|
94
|
+
response_mode?: "query" | "fragment" | "form_post" | undefined;
|
95
|
+
max_age?: number | undefined;
|
96
|
+
claims?: Partial<Record<"id_token" | "userinfo", Partial<Record<"auth_time" | "nonce" | "acr" | "name" | "family_name" | "given_name" | "middle_name" | "nickname" | "preferred_username" | "gender" | "picture" | "profile" | "website" | "birthdate" | "zoneinfo" | "locale" | "updated_at" | "email" | "email_verified" | "phone_number" | "phone_number_verified" | "address", {
|
97
|
+
values?: (string | number | boolean)[] | undefined;
|
98
|
+
value?: string | number | boolean | undefined;
|
99
|
+
essential?: boolean | undefined;
|
100
|
+
} | null>>>> | undefined;
|
101
|
+
login_hint?: string | undefined;
|
102
|
+
ui_locales?: string | undefined;
|
103
|
+
id_token_hint?: string | undefined;
|
104
|
+
display?: "page" | "popup" | "touch" | "wap" | undefined;
|
105
|
+
prompt?: "none" | "login" | "consent" | "select_account" | undefined;
|
106
|
+
authorization_details?: {
|
107
|
+
type: string;
|
108
|
+
locations?: string[] | undefined;
|
109
|
+
actions?: string[] | undefined;
|
110
|
+
datatypes?: string[] | undefined;
|
111
|
+
identifier?: string | undefined;
|
112
|
+
privileges?: string[] | undefined;
|
113
|
+
}[] | undefined;
|
114
|
+
}>, z.ZodObject<{
|
115
|
+
request: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}`, string>]>;
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
117
|
+
request: `${string}.${string}.${string}` | `${string}.${string}`;
|
118
|
+
}, {
|
119
|
+
request: string;
|
120
|
+
}>, z.ZodObject<{
|
121
|
+
request_uri: z.ZodString;
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
123
|
+
request_uri: string;
|
124
|
+
}, {
|
125
|
+
request_uri: string;
|
126
|
+
}>]>;
|
127
|
+
export type OAuthAuthorizationRequestQuery = z.infer<typeof oauthAuthorizationRequestQuerySchema>;
|
128
|
+
//# sourceMappingURL=oauth-authorization-request-query.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-authorization-request-query.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-request-query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI/C,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthAuthorizationRequestQuerySchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const oauth_authorization_request_jar_js_1 = require("./oauth-authorization-request-jar.js");
|
6
|
+
const oauth_authorization_request_parameters_js_1 = require("./oauth-authorization-request-parameters.js");
|
7
|
+
const oauth_authorization_request_uri_js_1 = require("./oauth-authorization-request-uri.js");
|
8
|
+
exports.oauthAuthorizationRequestQuerySchema = zod_1.z.union([
|
9
|
+
oauth_authorization_request_parameters_js_1.oauthAuthorizationRequestParametersSchema,
|
10
|
+
oauth_authorization_request_jar_js_1.oauthAuthorizationRequestJarSchema,
|
11
|
+
oauth_authorization_request_uri_js_1.oauthAuthorizationRequestUriSchema,
|
12
|
+
]);
|
13
|
+
//# sourceMappingURL=oauth-authorization-request-query.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-authorization-request-query.js","sourceRoot":"","sources":["../src/oauth-authorization-request-query.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,6FAAyF;AACzF,2GAAuG;AACvG,6FAAyF;AAE5E,QAAA,oCAAoC,GAAG,OAAC,CAAC,KAAK,CAAC;IAC1D,qFAAyC;IACzC,uEAAkC;IAClC,uEAAkC;CACnC,CAAC,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthAuthorizationRequestUriSchema: z.ZodObject<{
|
3
|
+
request_uri: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
request_uri: string;
|
6
|
+
}, {
|
7
|
+
request_uri: string;
|
8
|
+
}>;
|
9
|
+
export type OAuthAuthorizationRequestUri = z.infer<typeof oauthAuthorizationRequestUriSchema>;
|
10
|
+
//# sourceMappingURL=oauth-authorization-request-uri.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-authorization-request-uri.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-request-uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,kCAAkC;;;;;;EAE7C,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthAuthorizationRequestUriSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const oauth_request_uri_js_1 = require("./oauth-request-uri.js");
|
6
|
+
exports.oauthAuthorizationRequestUriSchema = zod_1.z.object({
|
7
|
+
request_uri: oauth_request_uri_js_1.oauthRequestUriSchema,
|
8
|
+
});
|
9
|
+
//# sourceMappingURL=oauth-authorization-request-uri.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-authorization-request-uri.js","sourceRoot":"","sources":["../src/oauth-authorization-request-uri.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,iEAA8D;AAEjD,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,WAAW,EAAE,4CAAqB;CACnC,CAAC,CAAA"}
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
3
3
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc8414}
|
4
4
|
*/
|
5
5
|
export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
6
|
-
issuer: z.ZodEffects<z.ZodString, string
|
6
|
+
issuer: z.ZodEffects<z.ZodString, `http://${string}` | `https://${string}`, string>;
|
7
7
|
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8
8
|
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
9
9
|
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
@@ -15,7 +15,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
15
15
|
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
16
16
|
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
17
17
|
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
18
|
-
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.
|
18
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodEnum<["S256", "plain"]>, "many">>;
|
19
19
|
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
20
20
|
id_token_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
21
21
|
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -40,7 +40,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
40
40
|
protected_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
41
41
|
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
43
|
-
issuer: string
|
43
|
+
issuer: `http://${string}` | `https://${string}`;
|
44
44
|
authorization_endpoint: string;
|
45
45
|
token_endpoint: string;
|
46
46
|
jwks_uri?: string | undefined;
|
@@ -55,7 +55,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
55
55
|
response_types_supported?: string[] | undefined;
|
56
56
|
response_modes_supported?: string[] | undefined;
|
57
57
|
grant_types_supported?: string[] | undefined;
|
58
|
-
code_challenge_methods_supported?:
|
58
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
59
59
|
ui_locales_supported?: string[] | undefined;
|
60
60
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
61
61
|
display_values_supported?: string[] | undefined;
|
@@ -92,7 +92,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
92
92
|
response_types_supported?: string[] | undefined;
|
93
93
|
response_modes_supported?: string[] | undefined;
|
94
94
|
grant_types_supported?: string[] | undefined;
|
95
|
-
code_challenge_methods_supported?:
|
95
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
96
96
|
ui_locales_supported?: string[] | undefined;
|
97
97
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
98
98
|
display_values_supported?: string[] | undefined;
|
@@ -116,7 +116,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
|
|
116
116
|
}>;
|
117
117
|
export type OAuthAuthorizationServerMetadata = z.infer<typeof oauthAuthorizationServerMetadataSchema>;
|
118
118
|
export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
119
|
-
issuer: z.ZodEffects<z.ZodString, string
|
119
|
+
issuer: z.ZodEffects<z.ZodString, `http://${string}` | `https://${string}`, string>;
|
120
120
|
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
121
121
|
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
122
122
|
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
@@ -128,7 +128,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
128
128
|
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
129
129
|
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
130
130
|
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
131
|
-
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.
|
131
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodEnum<["S256", "plain"]>, "many">>;
|
132
132
|
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
133
133
|
id_token_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
134
134
|
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -153,7 +153,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
153
153
|
protected_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
154
154
|
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
156
|
-
issuer: string
|
156
|
+
issuer: `http://${string}` | `https://${string}`;
|
157
157
|
authorization_endpoint: string;
|
158
158
|
token_endpoint: string;
|
159
159
|
jwks_uri?: string | undefined;
|
@@ -168,7 +168,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
168
168
|
response_types_supported?: string[] | undefined;
|
169
169
|
response_modes_supported?: string[] | undefined;
|
170
170
|
grant_types_supported?: string[] | undefined;
|
171
|
-
code_challenge_methods_supported?:
|
171
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
172
172
|
ui_locales_supported?: string[] | undefined;
|
173
173
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
174
174
|
display_values_supported?: string[] | undefined;
|
@@ -205,7 +205,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
205
205
|
response_types_supported?: string[] | undefined;
|
206
206
|
response_modes_supported?: string[] | undefined;
|
207
207
|
grant_types_supported?: string[] | undefined;
|
208
|
-
code_challenge_methods_supported?:
|
208
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
209
209
|
ui_locales_supported?: string[] | undefined;
|
210
210
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
211
211
|
display_values_supported?: string[] | undefined;
|
@@ -227,7 +227,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
227
227
|
protected_resources?: string[] | undefined;
|
228
228
|
client_id_metadata_document_supported?: boolean | undefined;
|
229
229
|
}>, {
|
230
|
-
issuer: string
|
230
|
+
issuer: `http://${string}` | `https://${string}`;
|
231
231
|
authorization_endpoint: string;
|
232
232
|
token_endpoint: string;
|
233
233
|
jwks_uri?: string | undefined;
|
@@ -242,7 +242,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
242
242
|
response_types_supported?: string[] | undefined;
|
243
243
|
response_modes_supported?: string[] | undefined;
|
244
244
|
grant_types_supported?: string[] | undefined;
|
245
|
-
code_challenge_methods_supported?:
|
245
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
246
246
|
ui_locales_supported?: string[] | undefined;
|
247
247
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
248
248
|
display_values_supported?: string[] | undefined;
|
@@ -279,7 +279,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
279
279
|
response_types_supported?: string[] | undefined;
|
280
280
|
response_modes_supported?: string[] | undefined;
|
281
281
|
grant_types_supported?: string[] | undefined;
|
282
|
-
code_challenge_methods_supported?:
|
282
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
283
283
|
ui_locales_supported?: string[] | undefined;
|
284
284
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
285
285
|
display_values_supported?: string[] | undefined;
|
@@ -301,7 +301,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
301
301
|
protected_resources?: string[] | undefined;
|
302
302
|
client_id_metadata_document_supported?: boolean | undefined;
|
303
303
|
}>, {
|
304
|
-
issuer: string
|
304
|
+
issuer: `http://${string}` | `https://${string}`;
|
305
305
|
authorization_endpoint: string;
|
306
306
|
token_endpoint: string;
|
307
307
|
jwks_uri?: string | undefined;
|
@@ -316,7 +316,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
316
316
|
response_types_supported?: string[] | undefined;
|
317
317
|
response_modes_supported?: string[] | undefined;
|
318
318
|
grant_types_supported?: string[] | undefined;
|
319
|
-
code_challenge_methods_supported?:
|
319
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
320
320
|
ui_locales_supported?: string[] | undefined;
|
321
321
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
322
322
|
display_values_supported?: string[] | undefined;
|
@@ -353,7 +353,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
|
|
353
353
|
response_types_supported?: string[] | undefined;
|
354
354
|
response_modes_supported?: string[] | undefined;
|
355
355
|
grant_types_supported?: string[] | undefined;
|
356
|
-
code_challenge_methods_supported?:
|
356
|
+
code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
|
357
357
|
ui_locales_supported?: string[] | undefined;
|
358
358
|
id_token_signing_alg_values_supported?: string[] | undefined;
|
359
359
|
display_values_supported?: 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;
|
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;AAKvB;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBhD,CAAA"}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.oauthAuthorizationServerMetadataValidator = exports.oauthAuthorizationServerMetadataSchema = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
+
const oauth_code_challenge_method_js_1 = require("./oauth-code-challenge-method.js");
|
5
6
|
const oauth_issuer_identifier_js_1 = require("./oauth-issuer-identifier.js");
|
6
7
|
/**
|
7
8
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc8414}
|
@@ -19,7 +20,10 @@ exports.oauthAuthorizationServerMetadataSchema = zod_1.z.object({
|
|
19
20
|
response_types_supported: zod_1.z.array(zod_1.z.string()).optional(),
|
20
21
|
response_modes_supported: zod_1.z.array(zod_1.z.string()).optional(),
|
21
22
|
grant_types_supported: zod_1.z.array(zod_1.z.string()).optional(),
|
22
|
-
code_challenge_methods_supported: zod_1.z
|
23
|
+
code_challenge_methods_supported: zod_1.z
|
24
|
+
.array(oauth_code_challenge_method_js_1.oauthCodeChallengeMethodSchema)
|
25
|
+
.min(1)
|
26
|
+
.optional(),
|
23
27
|
ui_locales_supported: zod_1.z.array(zod_1.z.string()).optional(),
|
24
28
|
id_token_signing_alg_values_supported: zod_1.z.array(zod_1.z.string()).optional(),
|
25
29
|
display_values_supported: zod_1.z.array(zod_1.z.string()).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,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,gCAAgC,EAAE,OAAC,
|
1
|
+
{"version":3,"file":"oauth-authorization-server-met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wBAAwB,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACpD,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,OAAO,EAAE,kCAAkC;aAC5C,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;AACH,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthClientCredentialsGrantTokenRequestSchema: z.ZodObject<{
|
3
|
+
grant_type: z.ZodLiteral<"client_credentials">;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
grant_type: "client_credentials";
|
6
|
+
}, {
|
7
|
+
grant_type: "client_credentials";
|
8
|
+
}>;
|
9
|
+
export type OAuthClientCredentialsGrantTokenRequest = z.infer<typeof oauthClientCredentialsGrantTokenRequestSchema>;
|
10
|
+
//# sourceMappingURL=oauth-client-credentials-grant-token-request.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-client-credentials-grant-token-request.d.ts","sourceRoot":"","sources":["../src/oauth-client-credentials-grant-token-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,6CAA6C;;;;;;EAExD,CAAA;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,6CAA6C,CACrD,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthClientCredentialsGrantTokenRequestSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.oauthClientCredentialsGrantTokenRequestSchema = zod_1.z.object({
|
6
|
+
grant_type: zod_1.z.literal('client_credentials'),
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=oauth-client-credentials-grant-token-request.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-client-credentials-grant-token-request.js","sourceRoot":"","sources":["../src/oauth-client-credentials-grant-token-request.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,6CAA6C,GAAG,OAAC,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;CAC5C,CAAC,CAAA"}
|
@@ -9,7 +9,7 @@ export declare const oauthClientCredentialsJwtBearerSchema: z.ZodObject<{
|
|
9
9
|
* - The JWT MAY contain a "jti" (JWT ID) claim that provides a unique identifier for the token.
|
10
10
|
* - Note that the authorization server may reject JWTs with an "exp" claim value that is unreasonably far in the future.
|
11
11
|
*
|
12
|
-
* @see {@link https://datatracker.ietf.org/doc/html/
|
12
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc7523#section-3}
|
13
13
|
*/
|
14
14
|
client_assertion: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>;
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
@@ -21,6 +21,7 @@ export declare const oauthClientCredentialsJwtBearerSchema: z.ZodObject<{
|
|
21
21
|
client_assertion_type: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
|
22
22
|
client_assertion: string;
|
23
23
|
}>;
|
24
|
+
export type OAuthClientCredentialsJwtBearer = z.infer<typeof oauthClientCredentialsJwtBearerSchema>;
|
24
25
|
export declare const oauthClientCredentialsSecretPostSchema: z.ZodObject<{
|
25
26
|
client_id: z.ZodString;
|
26
27
|
client_secret: z.ZodString;
|
@@ -31,6 +32,15 @@ export declare const oauthClientCredentialsSecretPostSchema: z.ZodObject<{
|
|
31
32
|
client_id: string;
|
32
33
|
client_secret: string;
|
33
34
|
}>;
|
35
|
+
export type OAuthClientCredentialsSecretPost = z.infer<typeof oauthClientCredentialsSecretPostSchema>;
|
36
|
+
export declare const oauthClientCredentialsNoneSchema: z.ZodObject<{
|
37
|
+
client_id: z.ZodString;
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
39
|
+
client_id: string;
|
40
|
+
}, {
|
41
|
+
client_id: string;
|
42
|
+
}>;
|
43
|
+
export type OAuthClientCredentialsNone = z.infer<typeof oauthClientCredentialsNoneSchema>;
|
34
44
|
export declare const oauthClientCredentialsSchema: z.ZodUnion<[z.ZodObject<{
|
35
45
|
client_id: z.ZodString;
|
36
46
|
client_assertion_type: z.ZodLiteral<"urn:ietf:params:oauth:client-assertion-type:jwt-bearer">;
|
@@ -41,7 +51,7 @@ export declare const oauthClientCredentialsSchema: z.ZodUnion<[z.ZodObject<{
|
|
41
51
|
* - The JWT MAY contain a "jti" (JWT ID) claim that provides a unique identifier for the token.
|
42
52
|
* - Note that the authorization server may reject JWTs with an "exp" claim value that is unreasonably far in the future.
|
43
53
|
*
|
44
|
-
* @see {@link https://datatracker.ietf.org/doc/html/
|
54
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc7523#section-3}
|
45
55
|
*/
|
46
56
|
client_assertion: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>;
|
47
57
|
}, "strip", z.ZodTypeAny, {
|
@@ -61,6 +71,12 @@ export declare const oauthClientCredentialsSchema: z.ZodUnion<[z.ZodObject<{
|
|
61
71
|
}, {
|
62
72
|
client_id: string;
|
63
73
|
client_secret: string;
|
74
|
+
}>, z.ZodObject<{
|
75
|
+
client_id: z.ZodString;
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
77
|
+
client_id: string;
|
78
|
+
}, {
|
79
|
+
client_id: string;
|
64
80
|
}>]>;
|
65
81
|
export type OAuthClientCredentials = z.infer<typeof oauthClientCredentialsSchema>;
|
66
82
|
//# sourceMappingURL=oauth-client-credentials.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-client-credentials.d.ts","sourceRoot":"","sources":["../src/oauth-client-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,qCAAqC;;;IAGhD;;;;;;;;OAQG;;;;;;;;;;EAEH,CAAA;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;EAGjD,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;
|
1
|
+
{"version":3,"file":"oauth-client-credentials.d.ts","sourceRoot":"","sources":["../src/oauth-client-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,qCAAqC;;;IAGhD;;;;;;;;OAQG;;;;;;;;;;EAEH,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAA;AAED,eAAO,MAAM,sCAAsC;;;;;;;;;EAGjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAA;AAID,eAAO,MAAM,4BAA4B;;;IAnCvC;;;;;;;;OAQG;;;;;;;;;;;;;;;;;;;;;;;;;IAgCH,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.oauthClientCredentialsSchema = exports.oauthClientCredentialsSecretPostSchema = exports.oauthClientCredentialsJwtBearerSchema = void 0;
|
3
|
+
exports.oauthClientCredentialsSchema = exports.oauthClientCredentialsNoneSchema = exports.oauthClientCredentialsSecretPostSchema = exports.oauthClientCredentialsJwtBearerSchema = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
5
|
const jwk_1 = require("@atproto/jwk");
|
6
6
|
const oauth_client_id_js_1 = require("./oauth-client-id.js");
|
@@ -15,7 +15,7 @@ exports.oauthClientCredentialsJwtBearerSchema = zod_1.z.object({
|
|
15
15
|
* - The JWT MAY contain a "jti" (JWT ID) claim that provides a unique identifier for the token.
|
16
16
|
* - Note that the authorization server may reject JWTs with an "exp" claim value that is unreasonably far in the future.
|
17
17
|
*
|
18
|
-
* @see {@link https://datatracker.ietf.org/doc/html/
|
18
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc7523#section-3}
|
19
19
|
*/
|
20
20
|
client_assertion: jwk_1.signedJwtSchema,
|
21
21
|
});
|
@@ -23,8 +23,14 @@ exports.oauthClientCredentialsSecretPostSchema = zod_1.z.object({
|
|
23
23
|
client_id: oauth_client_id_js_1.oauthClientIdSchema,
|
24
24
|
client_secret: zod_1.z.string(),
|
25
25
|
});
|
26
|
+
exports.oauthClientCredentialsNoneSchema = zod_1.z.object({
|
27
|
+
client_id: oauth_client_id_js_1.oauthClientIdSchema,
|
28
|
+
});
|
29
|
+
//
|
26
30
|
exports.oauthClientCredentialsSchema = zod_1.z.union([
|
27
31
|
exports.oauthClientCredentialsJwtBearerSchema,
|
28
32
|
exports.oauthClientCredentialsSecretPostSchema,
|
33
|
+
// Must be last since it is less specific
|
34
|
+
exports.oauthClientCredentialsNoneSchema,
|
29
35
|
]);
|
30
36
|
//# sourceMappingURL=oauth-client-credentials.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-client-credentials.js","sourceRoot":"","sources":["../src/oauth-client-credentials.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAA8C;AAE9C,6DAA0D;AAC1D,iDAAiE;AAEpD,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,SAAS,EAAE,wCAAmB;IAC9B,qBAAqB,EAAE,OAAC,CAAC,OAAO,CAAC,+CAAgC,CAAC;IAClE;;;;;;;;OAQG;IACH,gBAAgB,EAAE,qBAAe;CAClC,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"oauth-client-credentials.js","sourceRoot":"","sources":["../src/oauth-client-credentials.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAA8C;AAE9C,6DAA0D;AAC1D,iDAAiE;AAEpD,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,SAAS,EAAE,wCAAmB;IAC9B,qBAAqB,EAAE,OAAC,CAAC,OAAO,CAAC,+CAAgC,CAAC;IAClE;;;;;;;;OAQG;IACH,gBAAgB,EAAE,qBAAe;CAClC,CAAC,CAAA;AAMW,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,wCAAmB;IAC9B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAA;AAMW,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,SAAS,EAAE,wCAAmB;CAC/B,CAAC,CAAA;AAMF,EAAE;AAEW,QAAA,4BAA4B,GAAG,OAAC,CAAC,KAAK,CAAC;IAClD,6CAAqC;IACrC,8CAAsC;IACtC,yCAAyC;IACzC,wCAAgC;CACjC,CAAC,CAAA"}
|
@@ -3,6 +3,7 @@ import { OAuthClientId } from './oauth-client-id.js';
|
|
3
3
|
* @see {@link https://drafts.aaronpk.com/draft-parecki-oauth-client-id-metadata-document/draft-parecki-oauth-client-id-metadata-document.html}
|
4
4
|
*/
|
5
5
|
export type OAuthClientIdDiscoverable = OAuthClientId & `https://${string}`;
|
6
|
-
export declare function isOAuthClientIdDiscoverable
|
7
|
-
export declare function
|
6
|
+
export declare function isOAuthClientIdDiscoverable(clientId: string): clientId is OAuthClientIdDiscoverable;
|
7
|
+
export declare function assertOAuthDiscoverableClientId(value: string): asserts value is OAuthClientIdDiscoverable;
|
8
|
+
export declare function parseOAuthDiscoverableClientId(clientId: string): URL;
|
8
9
|
//# sourceMappingURL=oauth-client-id-discoverable.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-client-id-discoverable.d.ts","sourceRoot":"","sources":["../src/oauth-client-id-discoverable.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"oauth-client-id-discoverable.d.ts","sourceRoot":"","sources":["../src/oauth-client-id-discoverable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAGpD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG,WAAW,MAAM,EAAE,CAAA;AAE3E,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,GACf,QAAQ,IAAI,yBAAyB,CAOvC;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,KAAK,IAAI,yBAAyB,CAE5C;AAED,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CA2CpE"}
|