@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 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-client-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-client-metadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;cAAgC,CAAC;cAAgC,CAAC;eAAiC,CAAC;iBAAkB,CAAC;iBAAmC,CAAC;iBAAmC,CAAC;;iBAAmD,CAAC;iBAAmC,CAAC;iBAAmC,CAAC;;;;;;;eAAwK,CAAC;eAAsD,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;;;eAA8H,CAAC;eAAmC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;;eAAoH,CAAC;eAAkC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;eAAkF,CAAC;eAAsD,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;;;eAAgE,CAAC;eAAiC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;EAJ3phE,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"}
|
@@ -7,6 +7,7 @@ const oauth_client_id_js_1 = require("./oauth-client-id.js");
|
|
7
7
|
const oauth_endpoint_auth_method_js_1 = require("./oauth-endpoint-auth-method.js");
|
8
8
|
const oauth_grant_type_js_1 = require("./oauth-grant-type.js");
|
9
9
|
const oauth_response_type_js_1 = require("./oauth-response-type.js");
|
10
|
+
const oauth_scope_js_1 = require("./oauth-scope.js");
|
10
11
|
// https://openid.net/specs/openid-connect-registration-1_0.html
|
11
12
|
// https://datatracker.ietf.org/doc/html/rfc7591
|
12
13
|
exports.oauthClientMetadataSchema = zod_1.z.object({
|
@@ -23,7 +24,7 @@ exports.oauthClientMetadataSchema = zod_1.z.object({
|
|
23
24
|
// > If omitted, the default behavior is that the client will use only the
|
24
25
|
// > "authorization_code" Grant Type.
|
25
26
|
.default(['authorization_code']),
|
26
|
-
scope:
|
27
|
+
scope: oauth_scope_js_1.oauthScopeSchema.optional(),
|
27
28
|
token_endpoint_auth_method: oauth_endpoint_auth_method_js_1.oauthEndpointAuthMethod
|
28
29
|
.default('none')
|
29
30
|
.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;
|
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;AAClE,qDAAmD;AAEnD,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;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zC,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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-code-challenge-method.d.ts","sourceRoot":"","sources":["../src/oauth-code-challenge-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,8BAA8B,8BAA4B,CAAA"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthCodeChallengeMethodSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.oauthCodeChallengeMethodSchema = zod_1.z.enum(['S256', 'plain']);
|
6
|
+
//# sourceMappingURL=oauth-code-challenge-method.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-code-challenge-method.js","sourceRoot":"","sources":["../src/oauth-code-challenge-method.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,8BAA8B,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { OAuthAuthorizationDetails } from './oauth-authorization-details.js';
|
2
|
+
import { OAuthTokenType } from './oauth-token-type.js';
|
3
|
+
export type OAuthIntrospectionResponse = {
|
4
|
+
active: false;
|
5
|
+
} | {
|
6
|
+
active: true;
|
7
|
+
scope?: string;
|
8
|
+
client_id?: string;
|
9
|
+
username?: string;
|
10
|
+
token_type?: OAuthTokenType;
|
11
|
+
authorization_details?: OAuthAuthorizationDetails;
|
12
|
+
aud?: string | [string, ...string[]];
|
13
|
+
exp?: number;
|
14
|
+
iat?: number;
|
15
|
+
iss?: string;
|
16
|
+
jti?: string;
|
17
|
+
nbf?: number;
|
18
|
+
sub?: string;
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=oauth-introspection-response.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-introspection-response.d.ts","sourceRoot":"","sources":["../src/oauth-introspection-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAA;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGtD,MAAM,MAAM,0BAA0B,GAClC;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE,GACjB;IACE,MAAM,EAAE,IAAI,CAAA;IAEZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IAEjD,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAA;IACpC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-introspection-response.js","sourceRoot":"","sources":["../src/oauth-introspection-response.ts"],"names":[],"mappings":""}
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
-
export declare const oauthIssuerIdentifierSchema: z.ZodEffects<z.ZodString, string
|
2
|
+
export declare const oauthIssuerIdentifierSchema: z.ZodEffects<z.ZodString, `http://${string}` | `https://${string}`, string>;
|
3
|
+
export type OAuthIssuerIdentifier = z.infer<typeof oauthIssuerIdentifierSchema>;
|
3
4
|
//# sourceMappingURL=oauth-issuer-identifier.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-issuer-identifier.d.ts","sourceRoot":"","sources":["../src/oauth-issuer-identifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
1
|
+
{"version":3,"file":"oauth-issuer-identifier.d.ts","sourceRoot":"","sources":["../src/oauth-issuer-identifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,2BAA2B,6EAwDpC,CAAA;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
|
@@ -2,7 +2,6 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.oauthIssuerIdentifierSchema = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
|
-
const constants_js_1 = require("./constants.js");
|
6
5
|
const util_js_1 = require("./util.js");
|
7
6
|
exports.oauthIssuerIdentifierSchema = zod_1.z
|
8
7
|
.string()
|
@@ -13,36 +12,36 @@ exports.oauthIssuerIdentifierSchema = zod_1.z
|
|
13
12
|
code: zod_1.z.ZodIssueCode.custom,
|
14
13
|
message: 'Issuer URL must not end with a slash',
|
15
14
|
});
|
15
|
+
return false;
|
16
16
|
}
|
17
17
|
const url = (0, util_js_1.safeUrl)(value);
|
18
18
|
if (!url) {
|
19
|
-
|
19
|
+
ctx.addIssue({
|
20
20
|
code: zod_1.z.ZodIssueCode.custom,
|
21
21
|
message: 'Invalid url',
|
22
22
|
});
|
23
|
+
return false;
|
23
24
|
}
|
24
|
-
if (url.protocol !== 'https:') {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
code: zod_1.z.ZodIssueCode.custom,
|
31
|
-
message: 'Issuer must be an HTTPS URL',
|
32
|
-
});
|
33
|
-
}
|
25
|
+
if (url.protocol !== 'https:' && url.protocol !== 'http:') {
|
26
|
+
ctx.addIssue({
|
27
|
+
code: zod_1.z.ZodIssueCode.custom,
|
28
|
+
message: `Invalid issuer URL protocol "${url.protocol}"`,
|
29
|
+
});
|
30
|
+
return false;
|
34
31
|
}
|
35
32
|
if (url.username || url.password) {
|
36
33
|
ctx.addIssue({
|
37
34
|
code: zod_1.z.ZodIssueCode.custom,
|
38
35
|
message: 'Issuer URL must not contain a username or password',
|
39
36
|
});
|
37
|
+
return false;
|
40
38
|
}
|
41
39
|
if (url.hash || url.search) {
|
42
40
|
ctx.addIssue({
|
43
41
|
code: zod_1.z.ZodIssueCode.custom,
|
44
42
|
message: 'Issuer URL must not contain a query or fragment',
|
45
43
|
});
|
44
|
+
return false;
|
46
45
|
}
|
47
46
|
const canonicalValue = url.pathname === '/' ? url.origin : url.href;
|
48
47
|
if (value !== canonicalValue) {
|
@@ -50,6 +49,8 @@ exports.oauthIssuerIdentifierSchema = zod_1.z
|
|
50
49
|
code: zod_1.z.ZodIssueCode.custom,
|
51
50
|
message: 'Issuer URL must be in the canonical form',
|
52
51
|
});
|
52
|
+
return false;
|
53
53
|
}
|
54
|
+
return true;
|
54
55
|
});
|
55
56
|
//# sourceMappingURL=oauth-issuer-identifier.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-issuer-identifier.js","sourceRoot":"","sources":["../src/oauth-issuer-identifier.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,
|
1
|
+
{"version":3,"file":"oauth-issuer-identifier.js","sourceRoot":"","sources":["../src/oauth-issuer-identifier.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,uCAAmC;AAEtB,QAAA,2BAA2B,GAAG,OAAC;KACzC,MAAM,EAAE;KACR,WAAW,CAAC,CAAC,KAAK,EAAE,GAAG,EAA8C,EAAE;IACtE,uCAAuC;IAEvC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,sCAAsC;SAChD,CAAC,CAAA;QACF,OAAO,KAAK,CAAA;IACd,CAAC;IAED,MAAM,GAAG,GAAG,IAAA,iBAAO,EAAC,KAAK,CAAC,CAAA;IAC1B,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,aAAa;SACvB,CAAC,CAAA;QACF,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,GAAG,CAAC,Q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|
}, "strip", z.ZodTypeAny, {
|
5
6
|
request_uri: string;
|
7
|
+
expires_in: number;
|
6
8
|
}, {
|
7
9
|
request_uri: string;
|
10
|
+
expires_in: number;
|
8
11
|
}>;
|
9
12
|
export type OAuthParResponse = z.infer<typeof oauthParResponseSchema>;
|
10
13
|
//# sourceMappingURL=oauth-par-response.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-par-response.d.ts","sourceRoot":"","sources":["../src/oauth-par-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB
|
1
|
+
{"version":3,"file":"oauth-par-response.d.ts","sourceRoot":"","sources":["../src/oauth-par-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-par-response.js","sourceRoot":"","sources":["../src/oauth-par-response.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;
|
1
|
+
{"version":3,"file":"oauth-par-response.js","sourceRoot":"","sources":["../src/oauth-par-response.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthPasswordGrantTokenRequestSchema: z.ZodObject<{
|
3
|
+
grant_type: z.ZodLiteral<"password">;
|
4
|
+
username: z.ZodString;
|
5
|
+
password: z.ZodString;
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
7
|
+
password: string;
|
8
|
+
grant_type: "password";
|
9
|
+
username: string;
|
10
|
+
}, {
|
11
|
+
password: string;
|
12
|
+
grant_type: "password";
|
13
|
+
username: string;
|
14
|
+
}>;
|
15
|
+
export type OAuthPasswordGrantTokenRequest = z.infer<typeof oauthPasswordGrantTokenRequestSchema>;
|
16
|
+
//# sourceMappingURL=oauth-password-grant-token-request.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-password-grant-token-request.d.ts","sourceRoot":"","sources":["../src/oauth-password-grant-token-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,oCAAoC;;;;;;;;;;;;EAI/C,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthPasswordGrantTokenRequestSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.oauthPasswordGrantTokenRequestSchema = zod_1.z.object({
|
6
|
+
grant_type: zod_1.z.literal('password'),
|
7
|
+
username: zod_1.z.string(),
|
8
|
+
password: zod_1.z.string(),
|
9
|
+
});
|
10
|
+
//# sourceMappingURL=oauth-password-grant-token-request.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-password-grant-token-request.js","sourceRoot":"","sources":["../src/oauth-password-grant-token-request.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAA"}
|
@@ -17,7 +17,7 @@ export declare const oauthProtectedResourceMetadataSchema: z.ZodObject<{
|
|
17
17
|
* used. In some use cases, the set of authorization servers will not be
|
18
18
|
* enumerable, in which case this metadata parameter would not be used.
|
19
19
|
*/
|
20
|
-
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string
|
20
|
+
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `http://${string}` | `https://${string}`, string>, "many">>;
|
21
21
|
/**
|
22
22
|
* OPTIONAL. URL of the protected resource's JWK Set [JWK] document. This
|
23
23
|
* contains public keys belonging to the protected resource, such as signing
|
@@ -69,7 +69,7 @@ export declare const oauthProtectedResourceMetadataSchema: z.ZodObject<{
|
|
69
69
|
resource: string;
|
70
70
|
jwks_uri?: string | undefined;
|
71
71
|
scopes_supported?: string[] | undefined;
|
72
|
-
authorization_servers?: string[] | undefined;
|
72
|
+
authorization_servers?: (`http://${string}` | `https://${string}`)[] | undefined;
|
73
73
|
bearer_methods_supported?: ("query" | "header" | "body")[] | undefined;
|
74
74
|
resource_signing_alg_values_supported?: string[] | undefined;
|
75
75
|
resource_documentation?: string | undefined;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthRefreshTokenGrantTokenRequestSchema: z.ZodObject<{
|
3
|
+
grant_type: z.ZodLiteral<"refresh_token">;
|
4
|
+
refresh_token: z.ZodString;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
refresh_token: string;
|
7
|
+
grant_type: "refresh_token";
|
8
|
+
}, {
|
9
|
+
refresh_token: string;
|
10
|
+
grant_type: "refresh_token";
|
11
|
+
}>;
|
12
|
+
export type OAuthRefreshTokenGrantTokenRequest = z.infer<typeof oauthRefreshTokenGrantTokenRequestSchema>;
|
13
|
+
//# sourceMappingURL=oauth-refresh-token-grant-token-request.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-refresh-token-grant-token-request.d.ts","sourceRoot":"","sources":["../src/oauth-refresh-token-grant-token-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,wCAAwC;;;;;;;;;EAGnD,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthRefreshTokenGrantTokenRequestSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const oauth_refresh_token_js_1 = require("./oauth-refresh-token.js");
|
6
|
+
exports.oauthRefreshTokenGrantTokenRequestSchema = zod_1.z.object({
|
7
|
+
grant_type: zod_1.z.literal('refresh_token'),
|
8
|
+
refresh_token: oauth_refresh_token_js_1.oauthRefreshTokenSchema,
|
9
|
+
});
|
10
|
+
//# sourceMappingURL=oauth-refresh-token-grant-token-request.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-refresh-token-grant-token-request.js","sourceRoot":"","sources":["../src/oauth-refresh-token-grant-token-request.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qEAAkE;AAErD,QAAA,wCAAwC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,OAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACtC,aAAa,EAAE,gDAAuB;CACvC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-refresh-token.d.ts","sourceRoot":"","sources":["../src/oauth-refresh-token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,uBAAuB,aAAoB,CAAA;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-refresh-token.js","sourceRoot":"","sources":["../src/oauth-refresh-token.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-request-uri.d.ts","sourceRoot":"","sources":["../src/oauth-request-uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,qBAAqB,aAAa,CAAA;AAE/C,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-request-uri.js","sourceRoot":"","sources":["../src/oauth-request-uri.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
/**
|
3
|
+
* A space separated list of most non-control ASCII characters except backslash
|
4
|
+
* and double quote.
|
5
|
+
*
|
6
|
+
* @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-11#section-1.4.1}
|
7
|
+
*/
|
8
|
+
export declare const oauthScopeSchema: z.ZodString;
|
9
|
+
export type OAuthScope = z.infer<typeof oauthScopeSchema>;
|
10
|
+
//# sourceMappingURL=oauth-scope.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-scope.d.ts","sourceRoot":"","sources":["../src/oauth-scope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,aAIyC,CAAA;AAEtE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthScopeSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
/**
|
6
|
+
* A space separated list of most non-control ASCII characters except backslash
|
7
|
+
* and double quote.
|
8
|
+
*
|
9
|
+
* @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-11#section-1.4.1}
|
10
|
+
*/
|
11
|
+
exports.oauthScopeSchema = zod_1.z
|
12
|
+
.string()
|
13
|
+
// scope = scope-token *( SP scope-token )
|
14
|
+
// scope-token = 1*( %x21 / %x23-5B / %x5D-7E )
|
15
|
+
.regex(/^[\x21\x23-\x5B\x5D-\x7E]+(?: [\x21\x23-\x5B\x5D-\x7E]+)*$/);
|
16
|
+
//# sourceMappingURL=oauth-scope.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-scope.js","sourceRoot":"","sources":["../src/oauth-scope.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB;;;;;GAKG;AACU,QAAA,gBAAgB,GAAG,OAAC;KAC9B,MAAM,EAAE;IACT,gDAAgD;IAChD,+CAA+C;KAC9C,KAAK,CAAC,4DAA4D,CAAC,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthTokenIdentificationSchema: z.ZodObject<{
|
3
|
+
token: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
4
|
+
token_type_hint: z.ZodOptional<z.ZodEnum<["access_token", "refresh_token"]>>;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
token: string;
|
7
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
8
|
+
}, {
|
9
|
+
token: string;
|
10
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
11
|
+
}>;
|
12
|
+
export type OAuthTokenIdentification = z.infer<typeof oauthTokenIdentificationSchema>;
|
13
|
+
//# sourceMappingURL=oauth-token-identification.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-token-identification.d.ts","sourceRoot":"","sources":["../src/oauth-token-identification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAA"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthTokenIdentificationSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const oauth_access_token_js_1 = require("./oauth-access-token.js");
|
6
|
+
const oauth_refresh_token_js_1 = require("./oauth-refresh-token.js");
|
7
|
+
exports.oauthTokenIdentificationSchema = zod_1.z.object({
|
8
|
+
token: zod_1.z.union([oauth_access_token_js_1.oauthAccessTokenSchema, oauth_refresh_token_js_1.oauthRefreshTokenSchema]),
|
9
|
+
token_type_hint: zod_1.z.enum(['access_token', 'refresh_token']).optional(),
|
10
|
+
});
|
11
|
+
//# sourceMappingURL=oauth-token-identification.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-token-identification.js","sourceRoot":"","sources":["../src/oauth-token-identification.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,mEAAgE;AAChE,qEAAkE;AAErD,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,8CAAsB,EAAE,gDAAuB,CAAC,CAAC;IACjE,eAAe,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtE,CAAC,CAAA"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const oauthTokenRequestSchema: z.ZodDiscriminatedUnion<"grant_type", [z.ZodObject<{
|
3
|
+
grant_type: z.ZodLiteral<"authorization_code">;
|
4
|
+
code: z.ZodString;
|
5
|
+
redirect_uri: z.ZodString;
|
6
|
+
code_verifier: z.ZodOptional<z.ZodString>;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
code: string;
|
9
|
+
redirect_uri: string;
|
10
|
+
grant_type: "authorization_code";
|
11
|
+
code_verifier?: string | undefined;
|
12
|
+
}, {
|
13
|
+
code: string;
|
14
|
+
redirect_uri: string;
|
15
|
+
grant_type: "authorization_code";
|
16
|
+
code_verifier?: string | undefined;
|
17
|
+
}>, z.ZodObject<{
|
18
|
+
grant_type: z.ZodLiteral<"refresh_token">;
|
19
|
+
refresh_token: z.ZodString;
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
refresh_token: string;
|
22
|
+
grant_type: "refresh_token";
|
23
|
+
}, {
|
24
|
+
refresh_token: string;
|
25
|
+
grant_type: "refresh_token";
|
26
|
+
}>, z.ZodObject<{
|
27
|
+
grant_type: z.ZodLiteral<"password">;
|
28
|
+
username: z.ZodString;
|
29
|
+
password: z.ZodString;
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
31
|
+
password: string;
|
32
|
+
grant_type: "password";
|
33
|
+
username: string;
|
34
|
+
}, {
|
35
|
+
password: string;
|
36
|
+
grant_type: "password";
|
37
|
+
username: string;
|
38
|
+
}>, z.ZodObject<{
|
39
|
+
grant_type: z.ZodLiteral<"client_credentials">;
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
41
|
+
grant_type: "client_credentials";
|
42
|
+
}, {
|
43
|
+
grant_type: "client_credentials";
|
44
|
+
}>]>;
|
45
|
+
export type OAuthTokenRequest = z.infer<typeof oauthTokenRequestSchema>;
|
46
|
+
//# sourceMappingURL=oauth-token-request.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-token-request.d.ts","sourceRoot":"","sources":["../src/oauth-token-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.oauthTokenRequestSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const oauth_authorization_code_grant_token_request_js_1 = require("./oauth-authorization-code-grant-token-request.js");
|
6
|
+
const oauth_client_credentials_grant_token_request_js_1 = require("./oauth-client-credentials-grant-token-request.js");
|
7
|
+
const oauth_password_grant_token_request_js_1 = require("./oauth-password-grant-token-request.js");
|
8
|
+
const oauth_refresh_token_grant_token_request_js_1 = require("./oauth-refresh-token-grant-token-request.js");
|
9
|
+
exports.oauthTokenRequestSchema = zod_1.z.discriminatedUnion('grant_type', [
|
10
|
+
oauth_authorization_code_grant_token_request_js_1.oauthAuthorizationCodeGrantTokenRequestSchema,
|
11
|
+
oauth_refresh_token_grant_token_request_js_1.oauthRefreshTokenGrantTokenRequestSchema,
|
12
|
+
oauth_password_grant_token_request_js_1.oauthPasswordGrantTokenRequestSchema,
|
13
|
+
oauth_client_credentials_grant_token_request_js_1.oauthClientCredentialsGrantTokenRequestSchema,
|
14
|
+
]);
|
15
|
+
//# sourceMappingURL=oauth-token-request.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"oauth-token-request.js","sourceRoot":"","sources":["../src/oauth-token-request.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,uHAAiH;AACjH,uHAAiH;AACjH,mGAA8F;AAC9F,6GAAuG;AAE1F,QAAA,uBAAuB,GAAG,OAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IACxE,+FAA6C;IAC7C,qFAAwC;IACxC,4EAAoC;IACpC,+FAA6C;CAC9C,CAAC,CAAA"}
|
@@ -5,11 +5,10 @@ import { z } from 'zod';
|
|
5
5
|
export declare const oauthTokenResponseSchema: z.ZodObject<{
|
6
6
|
access_token: z.ZodString;
|
7
7
|
token_type: z.ZodUnion<[z.ZodEffects<z.ZodString, "DPoP", string>, z.ZodEffects<z.ZodString, "Bearer", string>]>;
|
8
|
-
issuer: z.ZodOptional<z.ZodString>;
|
9
8
|
scope: z.ZodOptional<z.ZodString>;
|
10
|
-
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
11
9
|
refresh_token: z.ZodOptional<z.ZodString>;
|
12
10
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
11
|
+
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
13
12
|
authorization_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
14
13
|
type: z.ZodString;
|
15
14
|
locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -35,11 +34,10 @@ export declare const oauthTokenResponseSchema: z.ZodObject<{
|
|
35
34
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
36
35
|
access_token: z.ZodString;
|
37
36
|
token_type: z.ZodUnion<[z.ZodEffects<z.ZodString, "DPoP", string>, z.ZodEffects<z.ZodString, "Bearer", string>]>;
|
38
|
-
issuer: z.ZodOptional<z.ZodString>;
|
39
37
|
scope: z.ZodOptional<z.ZodString>;
|
40
|
-
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
41
38
|
refresh_token: z.ZodOptional<z.ZodString>;
|
42
39
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
40
|
+
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
43
41
|
authorization_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
44
42
|
type: z.ZodString;
|
45
43
|
locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -65,11 +63,10 @@ export declare const oauthTokenResponseSchema: z.ZodObject<{
|
|
65
63
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
66
64
|
access_token: z.ZodString;
|
67
65
|
token_type: z.ZodUnion<[z.ZodEffects<z.ZodString, "DPoP", string>, z.ZodEffects<z.ZodString, "Bearer", string>]>;
|
68
|
-
issuer: z.ZodOptional<z.ZodString>;
|
69
66
|
scope: z.ZodOptional<z.ZodString>;
|
70
|
-
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
71
67
|
refresh_token: z.ZodOptional<z.ZodString>;
|
72
68
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
69
|
+
id_token: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `${string}.${string}.${string}`, string>>;
|
73
70
|
authorization_details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
74
71
|
type: z.ZodString;
|
75
72
|
locations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-token-response.d.ts","sourceRoot":"","sources":["../src/oauth-token-response.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB;;GAEG;AACH,eAAO,MAAM,wBAAwB
|
1
|
+
{"version":3,"file":"oauth-token-response.d.ts","sourceRoot":"","sources":["../src/oauth-token-response.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAerB,CAAA;AAEhB;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
@@ -10,13 +10,15 @@ const oauth_token_type_js_1 = require("./oauth-token-type.js");
|
|
10
10
|
*/
|
11
11
|
exports.oauthTokenResponseSchema = zod_1.z
|
12
12
|
.object({
|
13
|
+
// https://www.rfc-editor.org/rfc/rfc6749.html#section-5.1
|
13
14
|
access_token: zod_1.z.string(),
|
14
15
|
token_type: oauth_token_type_js_1.oauthTokenTypeSchema,
|
15
|
-
issuer: zod_1.z.string().url().optional(),
|
16
16
|
scope: zod_1.z.string().optional(),
|
17
|
-
id_token: jwk_1.signedJwtSchema.optional(),
|
18
17
|
refresh_token: zod_1.z.string().optional(),
|
19
18
|
expires_in: zod_1.z.number().optional(),
|
19
|
+
// https://openid.net/specs/openid-connect-core-1_0.html#TokenResponse
|
20
|
+
id_token: jwk_1.signedJwtSchema.optional(),
|
21
|
+
// https://datatracker.ietf.org/doc/html/rfc9396#name-enriched-authorization-deta
|
20
22
|
authorization_details: oauth_authorization_details_js_1.oauthAuthorizationDetailsSchema.optional(),
|
21
23
|
})
|
22
24
|
// https://www.rfc-editor.org/rfc/rfc6749.html#section-5.1
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"oauth-token-response.js","sourceRoot":"","sources":["../src/oauth-token-response.ts"],"names":[],"mappings":";;;AAAA,sCAA8C;AAC9C,6BAAuB;AAEvB,qFAAkF;AAClF,+DAA4D;AAE5D;;GAEG;AACU,QAAA,wBAAwB,GAAG,OAAC;KACtC,MAAM,CAAC;IACN,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,0CAAoB;IAChC,
|
1
|
+
{"version":3,"file":"oauth-token-response.js","sourceRoot":"","sources":["../src/oauth-token-response.ts"],"names":[],"mappings":";;;AAAA,sCAA8C;AAC9C,6BAAuB;AAEvB,qFAAkF;AAClF,+DAA4D;AAE5D;;GAEG;AACU,QAAA,wBAAwB,GAAG,OAAC;KACtC,MAAM,CAAC;IACN,0DAA0D;IAC1D,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,0CAAoB;IAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,sEAAsE;IACtE,QAAQ,EAAE,qBAAe,CAAC,QAAQ,EAAE;IACpC,iFAAiF;IACjF,qBAAqB,EAAE,gEAA+B,CAAC,QAAQ,EAAE;CAClE,CAAC;IACF,0DAA0D;IAC1D,qEAAqE;KACpE,WAAW,EAAE,CAAA"}
|
package/dist/util.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
export declare function
|
1
|
+
export declare function isHostnameIP(hostname: string): boolean;
|
2
2
|
export type LoopbackHost = 'localhost' | '127.0.0.1' | '[::1]';
|
3
3
|
export declare function isLoopbackHost(host: unknown): host is LoopbackHost;
|
4
4
|
export declare function isLoopbackUrl(input: URL | string): boolean;
|
5
5
|
export declare function safeUrl(input: URL | string): URL | null;
|
6
|
+
export declare function extractUrlPath(url: any): any;
|
6
7
|
//# sourceMappingURL=util.d.ts.map
|