@celljs/oauth2-client 3.5.14 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/node/authentication/index.js +17 -4
- package/lib/node/authentication/index.js.map +1 -1
- package/lib/node/authentication/oauth2-authentication-provider.js +33 -25
- package/lib/node/authentication/oauth2-authentication-provider.js.map +1 -1
- package/lib/node/authentication/oidc-authentication-provider.js +15 -7
- package/lib/node/authentication/oidc-authentication-provider.js.map +1 -1
- package/lib/node/authorization/authorization-code-authorized-client-provider.js +8 -3
- package/lib/node/authorization/authorization-code-authorized-client-provider.js.map +1 -1
- package/lib/node/authorization/authorization-code-grant-middleware.js +35 -27
- package/lib/node/authorization/authorization-code-grant-middleware.js.map +1 -1
- package/lib/node/authorization/authorization-failure-handler.js +13 -5
- package/lib/node/authorization/authorization-failure-handler.js.map +1 -1
- package/lib/node/authorization/authorization-protocol.js +1 -1
- package/lib/node/authorization/authorization-protocol.js.map +1 -1
- package/lib/node/authorization/authorization-request-manager.js +8 -3
- package/lib/node/authorization/authorization-request-manager.js.map +1 -1
- package/lib/node/authorization/authorization-request-redirect-middleware.js +27 -19
- package/lib/node/authorization/authorization-request-redirect-middleware.js.map +1 -1
- package/lib/node/authorization/authorization-request-resolver.js +27 -19
- package/lib/node/authorization/authorization-request-resolver.js.map +1 -1
- package/lib/node/authorization/authorization-success-handler.js +13 -5
- package/lib/node/authorization/authorization-success-handler.js.map +1 -1
- package/lib/node/authorization/authorized-client-manager.js +13 -5
- package/lib/node/authorization/authorized-client-manager.js.map +1 -1
- package/lib/node/authorization/authorized-client-service.js +23 -15
- package/lib/node/authorization/authorized-client-service.js.map +1 -1
- package/lib/node/authorization/client-credentials-authorized-client-provider.js +15 -7
- package/lib/node/authorization/client-credentials-authorized-client-provider.js.map +1 -1
- package/lib/node/authorization/context-attributes-mapper.js +8 -3
- package/lib/node/authorization/context-attributes-mapper.js.map +1 -1
- package/lib/node/authorization/index.js +27 -14
- package/lib/node/authorization/index.js.map +1 -1
- package/lib/node/authorization/password-authorized-client-provider.js +15 -7
- package/lib/node/authorization/password-authorized-client-provider.js.map +1 -1
- package/lib/node/authorization/refresh-token-authorized-client-provider.js +15 -7
- package/lib/node/authorization/refresh-token-authorized-client-provider.js.map +1 -1
- package/lib/node/endpoint/authorization-code-token-response-client.js +17 -9
- package/lib/node/endpoint/authorization-code-token-response-client.js.map +1 -1
- package/lib/node/endpoint/client-credentials-token-response-client.js +17 -9
- package/lib/node/endpoint/client-credentials-token-response-client.js.map +1 -1
- package/lib/node/endpoint/index.js +20 -7
- package/lib/node/endpoint/index.js.map +1 -1
- package/lib/node/endpoint/password-token-response-client.js +17 -9
- package/lib/node/endpoint/password-token-response-client.js.map +1 -1
- package/lib/node/endpoint/refresh-token-token-response-client.js +17 -9
- package/lib/node/endpoint/refresh-token-token-response-client.js.map +1 -1
- package/lib/node/endpoint/user-response-client.js +16 -8
- package/lib/node/endpoint/user-response-client.js.map +1 -1
- package/lib/node/error/error-handler.js +15 -7
- package/lib/node/error/error-handler.js.map +1 -1
- package/lib/node/error/index.js +17 -4
- package/lib/node/error/index.js.map +1 -1
- package/lib/node/index.js +21 -8
- package/lib/node/index.js.map +1 -1
- package/lib/node/module.d.ts +1 -1
- package/lib/node/provider/index.js +16 -3
- package/lib/node/provider/index.js.map +1 -1
- package/lib/node/provider/provider-details-manager.js +15 -7
- package/lib/node/provider/provider-details-manager.js.map +1 -1
- package/lib/node/registration/id-token-jwt-decoder-facatory.js +19 -11
- package/lib/node/registration/id-token-jwt-decoder-facatory.js.map +1 -1
- package/lib/node/registration/index.js +18 -5
- package/lib/node/registration/index.js.map +1 -1
- package/lib/node/registration/jws-algorithm-resolver.js +8 -3
- package/lib/node/registration/jws-algorithm-resolver.js.map +1 -1
- package/lib/node/registration/registration-manager.js +17 -9
- package/lib/node/registration/registration-manager.js.map +1 -1
- package/lib/node/user/index.js +17 -4
- package/lib/node/user/index.js.map +1 -1
- package/lib/node/user/oauth2-user-service.js +15 -7
- package/lib/node/user/oauth2-user-service.js.map +1 -1
- package/lib/node/user/oidc-user-service.js +17 -9
- package/lib/node/user/oidc-user-service.js.map +1 -1
- package/lib/node/utils/authorization-grant-request-entity-util.js +1 -1
- package/lib/node/utils/authorization-grant-request-entity-util.js.map +1 -1
- package/lib/node/utils/authorization-response-util.js +1 -1
- package/lib/node/utils/authorization-response-util.js.map +1 -1
- package/lib/node/utils/index.js +16 -3
- package/lib/node/utils/index.js.map +1 -1
- package/package.json +29 -29
- package/src/node/endpoint/user-response-client.ts +1 -1
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.PasswordTokenResponseClient = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const endpoint_protocol_1 = require("./endpoint-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const http_1 = require("@celljs/http");
|
|
@@ -55,20 +63,20 @@ let PasswordTokenResponseClient = class PasswordTokenResponseClient {
|
|
|
55
63
|
return qs.stringify(formParameters);
|
|
56
64
|
}
|
|
57
65
|
};
|
|
58
|
-
|
|
66
|
+
exports.PasswordTokenResponseClient = PasswordTokenResponseClient;
|
|
67
|
+
__decorate([
|
|
59
68
|
(0, core_1.Autowired)(http_1.RestOperations),
|
|
60
|
-
|
|
69
|
+
__metadata("design:type", Function)
|
|
61
70
|
], PasswordTokenResponseClient.prototype, "restOperations", void 0);
|
|
62
|
-
|
|
71
|
+
__decorate([
|
|
63
72
|
(0, core_1.Autowired)(provider_1.ProviderDetailsManager),
|
|
64
|
-
|
|
73
|
+
__metadata("design:type", Object)
|
|
65
74
|
], PasswordTokenResponseClient.prototype, "providerDetailsManager", void 0);
|
|
66
|
-
|
|
75
|
+
__decorate([
|
|
67
76
|
(0, core_1.Autowired)(oauth2_core_1.AccessTokenResponseConverter),
|
|
68
|
-
|
|
77
|
+
__metadata("design:type", oauth2_core_1.AccessTokenResponseConverter)
|
|
69
78
|
], PasswordTokenResponseClient.prototype, "accessTokenResponseConverter", void 0);
|
|
70
|
-
PasswordTokenResponseClient =
|
|
79
|
+
exports.PasswordTokenResponseClient = PasswordTokenResponseClient = __decorate([
|
|
71
80
|
(0, core_1.Component)()
|
|
72
81
|
], PasswordTokenResponseClient);
|
|
73
|
-
exports.PasswordTokenResponseClient = PasswordTokenResponseClient;
|
|
74
82
|
//# sourceMappingURL=password-token-response-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-token-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/password-token-response-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"password-token-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/password-token-response-client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAyH;AACzH,uCAAoD;AACpD,uCAA8C;AAC9C,0CAAqD;AACrD,qDAAiL;AACjL,oCAA+D;AAC/D,yBAAyB;AAGlB,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAWpC,KAAK,CAAC,gBAAgB,CAAC,oBAA0C;QAC7D,MAAM,EAA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CAAC;QAChG,MAAM,cAAc,GAA2B;YAC3C,CAAC,kCAAoB,CAAC,UAAU,CAAC,EAAE,sBAAsB;YACzD,CAAC,kCAAoB,CAAC,QAAQ,CAAC,EAAE,QAAQ;YACzC,CAAC,kCAAoB,CAAC,QAAQ,CAAC,EAAE,QAAQ;SAC5C,CAAC;QACF,MAAM,EAAE,0BAA0B,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,kBAAkB,CAAC;QAC1F,IAAI,MAAM,EAAE,CAAC;YACT,cAAc,CAAC,kCAAoB,CAAC,KAAK,CAAC,GAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnE,CAAC;QACD,IAAI,wCAA0B,CAAC,IAAI,KAAK,0BAA0B,EAAE,CAAC;YACjE,cAAc,CAAC,kCAAoB,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC;YAC1D,cAAc,CAAC,kCAAoB,CAAC,aAAa,CAAC,GAAG,YAAY,CAAC;QACtE,CAAC;QACD,OAAO,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;CAEJ,CAAA;AA7DY,kEAA2B;AAGjB;IADlB,IAAA,gBAAS,EAAC,qBAAc,CAAC;;mEACwB;AAG/B;IADlB,IAAA,gBAAS,EAAC,iCAAsB,CAAC;;2EACgC;AAG/C;IADlB,IAAA,gBAAS,EAAC,0CAA4B,CAAC;8BACS,0CAA4B;iFAAC;sCATrE,2BAA2B;IADvC,IAAA,gBAAS,GAAE;GACC,2BAA2B,CA6DvC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.RefreshTokenTokenResponseClient = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const endpoint_protocol_1 = require("./endpoint-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const http_1 = require("@celljs/http");
|
|
@@ -60,20 +68,20 @@ let RefreshTokenTokenResponseClient = class RefreshTokenTokenResponseClient {
|
|
|
60
68
|
return qs.stringify(formParameters);
|
|
61
69
|
}
|
|
62
70
|
};
|
|
63
|
-
|
|
71
|
+
exports.RefreshTokenTokenResponseClient = RefreshTokenTokenResponseClient;
|
|
72
|
+
__decorate([
|
|
64
73
|
(0, core_1.Autowired)(http_1.RestOperations),
|
|
65
|
-
|
|
74
|
+
__metadata("design:type", Function)
|
|
66
75
|
], RefreshTokenTokenResponseClient.prototype, "restOperations", void 0);
|
|
67
|
-
|
|
76
|
+
__decorate([
|
|
68
77
|
(0, core_1.Autowired)(provider_1.ProviderDetailsManager),
|
|
69
|
-
|
|
78
|
+
__metadata("design:type", Object)
|
|
70
79
|
], RefreshTokenTokenResponseClient.prototype, "providerDetailsManager", void 0);
|
|
71
|
-
|
|
80
|
+
__decorate([
|
|
72
81
|
(0, core_1.Autowired)(oauth2_core_1.AccessTokenResponseConverter),
|
|
73
|
-
|
|
82
|
+
__metadata("design:type", oauth2_core_1.AccessTokenResponseConverter)
|
|
74
83
|
], RefreshTokenTokenResponseClient.prototype, "accessTokenResponseConverter", void 0);
|
|
75
|
-
RefreshTokenTokenResponseClient =
|
|
84
|
+
exports.RefreshTokenTokenResponseClient = RefreshTokenTokenResponseClient = __decorate([
|
|
76
85
|
(0, core_1.Component)()
|
|
77
86
|
], RefreshTokenTokenResponseClient);
|
|
78
|
-
exports.RefreshTokenTokenResponseClient = RefreshTokenTokenResponseClient;
|
|
79
87
|
//# sourceMappingURL=refresh-token-token-response-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-token-token-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/refresh-token-token-response-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"refresh-token-token-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/refresh-token-token-response-client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA6H;AAC7H,uCAAoD;AACpD,uCAA8C;AAC9C,0CAAqD;AACrD,qDAAiL;AACjL,oCAA+D;AAC/D,yBAAyB;AAGlB,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAWxC,KAAK,CAAC,gBAAgB,CAAC,wBAAkD;QACrE,MAAM,EAAE,kBAAkB,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,wBAAwB,CAAC;QACnF,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QAE3F,IAAI,QAAQ,CAAC;QACb,IAAI,CAAC;YACD,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAA4B,eAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,EAAE;gBAChJ,OAAO,EAAE,2CAAmC,CAAC,sBAAsB,CAAC,kBAAkB,CAAC;aAC1F,CAAC,CAAC;QACP,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,WAAW,GAAgB;gBAC7B,SAAS,EAAE,qDAAiC;gBAC5C,WAAW,EAAE,uFAAuF,CAA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AAE,GAAG,kBAAkB,CAAC;QAClF,IAAI,wCAA0B,CAAC,IAAI,KAAK,0BAA0B,EAAE,CAAC;YACjE,cAAc,CAAC,kCAAoB,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC;YAC1D,cAAc,CAAC,kCAAoB,CAAC,aAAa,CAAC,GAAG,YAAY,CAAC;QACtE,CAAC;QACD,OAAO,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;CAEJ,CAAA;AAnEY,0EAA+B;AAGrB;IADlB,IAAA,gBAAS,EAAC,qBAAc,CAAC;;uEACwB;AAG/B;IADlB,IAAA,gBAAS,EAAC,iCAAsB,CAAC;;+EACgC;AAG/C;IADlB,IAAA,gBAAS,EAAC,0CAA4B,CAAC;8BACS,0CAA4B;qFAAC;0CATrE,+BAA+B;IAD3C,IAAA,gBAAS,GAAE;GACC,+BAA+B,CAmE3C"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.DefaultUserResponseClient = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const endpoint_protocol_1 = require("./endpoint-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const http_1 = require("@celljs/http");
|
|
@@ -23,7 +31,7 @@ let DefaultUserResponseClient = class DefaultUserResponseClient {
|
|
|
23
31
|
if (!userNameAttributeName) {
|
|
24
32
|
throw new oauth2_core_1.OAuth2AuthenticationError({
|
|
25
33
|
errorCode: endpoint_protocol_1.MISSING_USER_NAME_ATTRIBUTE_ERROR_CODE,
|
|
26
|
-
description: `Missing required
|
|
34
|
+
description: `Missing required "user name" attribute name in UserInfoEndpoint for Client Registration: ${clientRegistration.registrationId}`
|
|
27
35
|
});
|
|
28
36
|
}
|
|
29
37
|
let response;
|
|
@@ -61,16 +69,16 @@ let DefaultUserResponseClient = class DefaultUserResponseClient {
|
|
|
61
69
|
};
|
|
62
70
|
}
|
|
63
71
|
};
|
|
64
|
-
|
|
72
|
+
exports.DefaultUserResponseClient = DefaultUserResponseClient;
|
|
73
|
+
__decorate([
|
|
65
74
|
(0, core_1.Autowired)(http_1.RestOperations),
|
|
66
|
-
|
|
75
|
+
__metadata("design:type", Function)
|
|
67
76
|
], DefaultUserResponseClient.prototype, "restOperations", void 0);
|
|
68
|
-
|
|
77
|
+
__decorate([
|
|
69
78
|
(0, core_1.Autowired)(provider_1.ProviderDetailsManager),
|
|
70
|
-
|
|
79
|
+
__metadata("design:type", Object)
|
|
71
80
|
], DefaultUserResponseClient.prototype, "providerDetailsManager", void 0);
|
|
72
|
-
DefaultUserResponseClient =
|
|
81
|
+
exports.DefaultUserResponseClient = DefaultUserResponseClient = __decorate([
|
|
73
82
|
(0, core_1.Component)(endpoint_protocol_1.UserResponseClient)
|
|
74
83
|
], DefaultUserResponseClient);
|
|
75
|
-
exports.DefaultUserResponseClient = DefaultUserResponseClient;
|
|
76
84
|
//# sourceMappingURL=user-response-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/user-response-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-response-client.js","sourceRoot":"","sources":["../../../src/node/endpoint/user-response-client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DACmI;AACnI,uCAAoD;AACpD,uCAAkF;AAClF,0CAAqD;AACrD,qDAAmJ;AACnJ,yBAAyB;AAIlB,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAQlC,KAAK,CAAC,eAAe,CAAC,WAA8B;;QAChD,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC;QACxD,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QAE3F,IAAI,CAAC,CAAA,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,gBAAgB,0CAAE,GAAG,CAAA,EAAE,CAAC;YAC1C,MAAM,IAAI,uCAAyB,CAAC;gBAChC,SAAS,EAAE,oDAAgC;gBAC3C,WAAW,EAAE,8EAA8E,kBAAkB,CAAC,cAAc,EAAE;aACjI,CAAC,CAAC;QACP,CAAC;QACD,MAAM,qBAAqB,GAAG,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,gBAAgB,0CAAE,qBAAqB,CAAC;QACvF,IAAI,CAAC,qBAAqB,EAAE,CAAC;YACzB,MAAM,IAAI,uCAAyB,CAAC;gBAChC,SAAS,EAAE,0DAAsC;gBACjD,WAAW,EAAE,4FAA4F,kBAAkB,CAAC,cAAc,EAAE;aAC/I,CAAC,CAAC;QACP,CAAC;QAED,IAAI,QAAQ,CAAC;QACb,IAAI,CAAC;YACD,MAAM,UAAU,GAAG,eAAe,CAAC,gBAAgB,CAAC,oBAAoB,KAAK,kCAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAU,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAU,CAAC,GAAG,CAAC;YAC1I,MAAM,MAAM,GAAuB;gBAC/B,GAA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G/B;IADlB,IAAA,gBAAS,EAAC,iCAAsB,CAAC;;yEACgC;oCANzD,yBAAyB;IADrC,IAAA,gBAAS,EAAC,sCAAkB,CAAC;GACjB,yBAAyB,CA6DrC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.OAuth2AuthorizationErrorHandler = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const error_protocol_1 = require("./error-protocol");
|
|
6
14
|
const node_1 = require("@celljs/web/lib/node");
|
|
7
15
|
const core_1 = require("@celljs/core");
|
|
@@ -29,16 +37,16 @@ let OAuth2AuthorizationErrorHandler = class OAuth2AuthorizationErrorHandler {
|
|
|
29
37
|
ctx.response.end(err.message);
|
|
30
38
|
}
|
|
31
39
|
};
|
|
32
|
-
|
|
40
|
+
exports.OAuth2AuthorizationErrorHandler = OAuth2AuthorizationErrorHandler;
|
|
41
|
+
__decorate([
|
|
33
42
|
(0, core_1.Autowired)(node_1.RedirectStrategy),
|
|
34
|
-
|
|
43
|
+
__metadata("design:type", Object)
|
|
35
44
|
], OAuth2AuthorizationErrorHandler.prototype, "redirectStrategy", void 0);
|
|
36
|
-
|
|
45
|
+
__decorate([
|
|
37
46
|
(0, core_1.Autowired)(authorization_1.AuthorizationRequestManager),
|
|
38
|
-
|
|
47
|
+
__metadata("design:type", Object)
|
|
39
48
|
], OAuth2AuthorizationErrorHandler.prototype, "authorizationRequestManager", void 0);
|
|
40
|
-
OAuth2AuthorizationErrorHandler =
|
|
49
|
+
exports.OAuth2AuthorizationErrorHandler = OAuth2AuthorizationErrorHandler = __decorate([
|
|
41
50
|
(0, core_1.Component)(node_1.ErrorHandler)
|
|
42
51
|
], OAuth2AuthorizationErrorHandler);
|
|
43
|
-
exports.OAuth2AuthorizationErrorHandler = OAuth2AuthorizationErrorHandler;
|
|
44
52
|
//# sourceMappingURL=error-handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handler.js","sourceRoot":"","sources":["../../../src/node/error/error-handler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"error-handler.js","sourceRoot":"","sources":["../../../src/node/error/error-handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,+CAA+E;AAC/E,uCAAoD;AACpD,qDAA2G;AAC3G,oDAA+D;AAC/D,yCAAgC;AAGzB,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAArC;QACM,aAAQ,GAAW,4DAA2C,CAAC;IA6B5E,CAAC;IArBG,SAAS,CAAC,GAAY,EAAE,GAAU;QAC9B,OAAO,OAAO,CAAC,OAAO,CAAC,GAAG,YAAY,sCAAwB,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,GAAY,EAAE,GAA6B;QACpD,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC;QAC5B,MAAM,oBAAoB,GAAyB,MAAM,IAAI,CAAC,2BAA2B,CAAC,MAAM,EAAE,CAAC;QAEnG,IAAI,WAAW,GAAG,GAAG,oBAAoB,CAAC,WAAW,IAAI,kCAAoB,CAAC,KAAK,IAAI,WAAW,CAAC,SAAS,EAAE,CAAC;QAC/G,IAAI,WAAW,CAAC,WAAW,EAAE,CAAC;YAC1B,WAAW,GAAG,GAAG,WAAW,IAAI,kCAAoB,CAAC,iBAAiB,IAAI,eAAG,CAAC,MAAM,CAAC,SAAS,CAAC,eAAG,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;QAC9I,CAAC;QAED,IAAI,WAAW,CAAC,GAAG,EAAE,CAAC;YAClB,WAAW,GAAG,GAAG,WAAW,IAAI,kCAAoB,CAAC,SAAS,IAAI,eAAG,CAAC,MAAM,CAAC,SAAS,CAAC,eAAG,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAE9H,CAAC;QAED,MAAM,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACJ,CAAA;AA9BY,0EAA+B;AAIrB;IADlB,IAAA,gBAAS,EAAC,uBAAgB,CAAC;;yEAC0B;AAGnC;IADlB,IAAA,gBAAS,EAAC,2CAA2B,CAAC;;oFAC2D;0CAPzF,+BAA+B;IAD3C,IAAA,gBAAS,EAAC,mBAAY,CAAC;GACX,+BAA+B,CA8B3C"}
|
package/lib/node/error/index.js
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
tslib_1.__exportStar(require("./error"), exports);
|
|
17
|
+
__exportStar(require("./error-handler"), exports);
|
|
18
|
+
__exportStar(require("./error-protocol"), exports);
|
|
19
|
+
__exportStar(require("./error"), exports);
|
|
7
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/error/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/error/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,mDAAiC;AACjC,0CAAwB"}
|
package/lib/node/index.js
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
tslib_1.__exportStar(require("./user"), exports);
|
|
17
|
+
__exportStar(require("./registration"), exports);
|
|
18
|
+
__exportStar(require("./provider"), exports);
|
|
19
|
+
__exportStar(require("./authorization"), exports);
|
|
20
|
+
__exportStar(require("./authentication"), exports);
|
|
21
|
+
__exportStar(require("./endpoint"), exports);
|
|
22
|
+
__exportStar(require("./constants"), exports);
|
|
23
|
+
__exportStar(require("./user"), exports);
|
|
11
24
|
//# sourceMappingURL=index.js.map
|
package/lib/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,mDAAiC;AACjC,6CAA2B;AAC3B,8CAA4B;AAC5B,yCAAuB"}
|
package/lib/node/module.d.ts
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tslib_1.__exportStar(require("./provider-details-manager"), exports);
|
|
17
|
+
__exportStar(require("./provider-protocol"), exports);
|
|
18
|
+
__exportStar(require("./provider-details-manager"), exports);
|
|
6
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/provider/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/provider/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,6DAA2C"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.InMemoryProviderDetailsManager = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const provider_protocol_1 = require("./provider-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
let InMemoryProviderDetailsManager = class InMemoryProviderDetailsManager {
|
|
@@ -27,16 +35,16 @@ let InMemoryProviderDetailsManager = class InMemoryProviderDetailsManager {
|
|
|
27
35
|
return this.providers[providerId] || this.providerTemplates[providerId];
|
|
28
36
|
}
|
|
29
37
|
};
|
|
30
|
-
|
|
38
|
+
exports.InMemoryProviderDetailsManager = InMemoryProviderDetailsManager;
|
|
39
|
+
__decorate([
|
|
31
40
|
(0, core_1.Value)('cell.oauth2.client.providers'),
|
|
32
|
-
|
|
41
|
+
__metadata("design:type", Object)
|
|
33
42
|
], InMemoryProviderDetailsManager.prototype, "providers", void 0);
|
|
34
|
-
|
|
43
|
+
__decorate([
|
|
35
44
|
(0, core_1.Value)('cell.oauth2.client.providerTemplates'),
|
|
36
|
-
|
|
45
|
+
__metadata("design:type", Object)
|
|
37
46
|
], InMemoryProviderDetailsManager.prototype, "providerTemplates", void 0);
|
|
38
|
-
InMemoryProviderDetailsManager =
|
|
47
|
+
exports.InMemoryProviderDetailsManager = InMemoryProviderDetailsManager = __decorate([
|
|
39
48
|
(0, core_1.Component)(provider_protocol_1.ProviderDetailsManager)
|
|
40
49
|
], InMemoryProviderDetailsManager);
|
|
41
|
-
exports.InMemoryProviderDetailsManager = InMemoryProviderDetailsManager;
|
|
42
50
|
//# sourceMappingURL=provider-details-manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-details-manager.js","sourceRoot":"","sources":["../../../src/node/provider/provider-details-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider-details-manager.js","sourceRoot":"","sources":["../../../src/node/provider/provider-details-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA8E;AAC9E,uCAAgD;AA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7B;IADT,IAAA,YAAK,EAAC,8BAA8B,CAAC;;iEACsB;AAGzC;IADlB,IAAA,YAAK,EAAC,sCAAsC,CAAC;;yEAC+B;yCANpE,8BAA8B;IAD1C,IAAA,gBAAS,EAAC,0CAAsB,CAAC;GACrB,8BAA8B,CA4B1C"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.IdTokenJwtDecoderFactory = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const oauth2_jose_1 = require("@celljs/oauth2-jose");
|
|
6
14
|
const registration_protocol_1 = require("./registration-protocol");
|
|
7
15
|
const core_1 = require("@celljs/core");
|
|
@@ -58,24 +66,24 @@ let IdTokenJwtDecoderFactory = class IdTokenJwtDecoderFactory {
|
|
|
58
66
|
return jwtDecoder;
|
|
59
67
|
}
|
|
60
68
|
};
|
|
61
|
-
|
|
69
|
+
exports.IdTokenJwtDecoderFactory = IdTokenJwtDecoderFactory;
|
|
70
|
+
__decorate([
|
|
62
71
|
(0, core_1.Autowired)(registration_protocol_1.JwsAlgorithmResolver),
|
|
63
|
-
|
|
72
|
+
__metadata("design:type", Object)
|
|
64
73
|
], IdTokenJwtDecoderFactory.prototype, "jwsAlgorithmResolver", void 0);
|
|
65
|
-
|
|
74
|
+
__decorate([
|
|
66
75
|
(0, core_1.Autowired)(authorization_1.AuthorizationRequestManager),
|
|
67
|
-
|
|
76
|
+
__metadata("design:type", Object)
|
|
68
77
|
], IdTokenJwtDecoderFactory.prototype, "authorizationRequestManager", void 0);
|
|
69
|
-
|
|
78
|
+
__decorate([
|
|
70
79
|
(0, core_1.Autowired)(oauth2_jose_1.JwkSetManager),
|
|
71
|
-
|
|
80
|
+
__metadata("design:type", Object)
|
|
72
81
|
], IdTokenJwtDecoderFactory.prototype, "jwkSetManager", void 0);
|
|
73
|
-
|
|
82
|
+
__decorate([
|
|
74
83
|
(0, core_1.Autowired)(provider_1.ProviderDetailsManager),
|
|
75
|
-
|
|
84
|
+
__metadata("design:type", Object)
|
|
76
85
|
], IdTokenJwtDecoderFactory.prototype, "providerDetailsManager", void 0);
|
|
77
|
-
IdTokenJwtDecoderFactory =
|
|
86
|
+
exports.IdTokenJwtDecoderFactory = IdTokenJwtDecoderFactory = __decorate([
|
|
78
87
|
(0, core_1.Component)()
|
|
79
88
|
], IdTokenJwtDecoderFactory);
|
|
80
|
-
exports.IdTokenJwtDecoderFactory = IdTokenJwtDecoderFactory;
|
|
81
89
|
//# sourceMappingURL=id-token-jwt-decoder-facatory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-token-jwt-decoder-facatory.js","sourceRoot":"","sources":["../../../src/node/registration/id-token-jwt-decoder-facatory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"id-token-jwt-decoder-facatory.js","sourceRoot":"","sources":["../../../src/node/registration/id-token-jwt-decoder-facatory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkG;AAClG,mEAA0H;AAC1H,uCAAoD;AACpD,0CAAsE;AACtE,+BAA0D;AAC1D,qDAAsF;AACtF,oDAA+D;AA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C,KAAK,EAAC,EAAE;oBAClB,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,MAAM,IAAA,gBAAS,EAAC,KAAK,EAAE,GAAG,EAAE;wBAC7D,MAAM,EAAE,SAAS;wBACjB,QAAQ,EAAE,kBAAkB,CAAC,QAAQ;wBACrC,UAAU,EAAE,CAAE,YAAY,CAAE;qBAC/B,CAAC,CAAC;oBACH,OAAO;wBACH,MAAM,EAAE,eAAe;wBACvB,OAAO;wBACP,KAAK;qBACR,CAAC;gBACN,CAAC;aACJ,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CAEJ,CAAA;AA7DY,4DAAwB;AAGd;IADlB,IAAA,gBAAS,EAAC,4CAAoB,CAAC;;sEAC8B;AAG3C;IADlB,IAAA,gBAAS,EAAC,2CAA2B,CAAC;;6EAC2D;AAG/E;IADlB,IAAA,gBAAS,EAAC,2BAAa,CAAC;;+DAC6C;AAGnD;IADlB,IAAA,gBAAS,EAAC,iCAAsB,CAAC;;wEACgC;mCAZzD,wBAAwB;IADpC,IAAA,gBAAS,GAAE;GACC,wBAAwB,CA6DpC"}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__exportStar(require("./jws-algorithm-resolver"), exports);
|
|
17
|
+
__exportStar(require("./registration-protocol"), exports);
|
|
18
|
+
__exportStar(require("./registration-manager"), exports);
|
|
19
|
+
__exportStar(require("./id-token-jwt-decoder-facatory"), exports);
|
|
20
|
+
__exportStar(require("./jws-algorithm-resolver"), exports);
|
|
8
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/registration/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/registration/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC;AACvC,kEAAgD;AAChD,2DAAyC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
9
|
exports.DefaultJwsAlgorithmResolver = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
10
|
const oauth2_jose_1 = require("@celljs/oauth2-jose");
|
|
6
11
|
const registration_protocol_1 = require("./registration-protocol");
|
|
7
12
|
const core_1 = require("@celljs/core");
|
|
@@ -10,8 +15,8 @@ let DefaultJwsAlgorithmResolver = class DefaultJwsAlgorithmResolver {
|
|
|
10
15
|
return oauth2_jose_1.JwsAlgorithms.RS256;
|
|
11
16
|
}
|
|
12
17
|
};
|
|
13
|
-
DefaultJwsAlgorithmResolver =
|
|
18
|
+
exports.DefaultJwsAlgorithmResolver = DefaultJwsAlgorithmResolver;
|
|
19
|
+
exports.DefaultJwsAlgorithmResolver = DefaultJwsAlgorithmResolver = __decorate([
|
|
14
20
|
(0, core_1.Component)(registration_protocol_1.JwsAlgorithmResolver)
|
|
15
21
|
], DefaultJwsAlgorithmResolver);
|
|
16
|
-
exports.DefaultJwsAlgorithmResolver = DefaultJwsAlgorithmResolver;
|
|
17
22
|
//# sourceMappingURL=jws-algorithm-resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jws-algorithm-resolver.js","sourceRoot":"","sources":["../../../src/node/registration/jws-algorithm-resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jws-algorithm-resolver.js","sourceRoot":"","sources":["../../../src/node/registration/jws-algorithm-resolver.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qDAAoD;AACpD,mEAAmF;AACnF,uCAAyC;AAGlC,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEpC,KAAK,CAAC,MAAM,CAAC,kBAAsC;QAC/C,OAAO,2BAAa,CAAC,KAAK,CAAC;IAC/B,CAAC;CAEJ,CAAA;AANY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,gBAAS,EAAC,4CAAoB,CAAC;GACnB,2BAA2B,CAMvC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.InMemoryClientRegistrationManager = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
13
|
const registration_protocol_1 = require("./registration-protocol");
|
|
6
14
|
const core_1 = require("@celljs/core");
|
|
7
15
|
const oauth2_core_1 = require("@celljs/oauth2-core");
|
|
@@ -37,20 +45,20 @@ let InMemoryClientRegistrationManager = class InMemoryClientRegistrationManager
|
|
|
37
45
|
return oauth2_core_1.ClientAuthenticationMethod.Basic;
|
|
38
46
|
}
|
|
39
47
|
};
|
|
40
|
-
|
|
48
|
+
exports.InMemoryClientRegistrationManager = InMemoryClientRegistrationManager;
|
|
49
|
+
__decorate([
|
|
41
50
|
(0, core_1.Value)('cell.oauth2.client.registrations'),
|
|
42
|
-
|
|
51
|
+
__metadata("design:type", Object)
|
|
43
52
|
], InMemoryClientRegistrationManager.prototype, "registrations", void 0);
|
|
44
|
-
|
|
53
|
+
__decorate([
|
|
45
54
|
(0, core_1.Value)('cell.oauth2.client.registrationTemplates'),
|
|
46
|
-
|
|
55
|
+
__metadata("design:type", Object)
|
|
47
56
|
], InMemoryClientRegistrationManager.prototype, "registrationTemplates", void 0);
|
|
48
|
-
|
|
57
|
+
__decorate([
|
|
49
58
|
(0, core_1.Value)('cell.oauth2.client.defaultRedirectUri'),
|
|
50
|
-
|
|
59
|
+
__metadata("design:type", String)
|
|
51
60
|
], InMemoryClientRegistrationManager.prototype, "defaultRedirectUri", void 0);
|
|
52
|
-
InMemoryClientRegistrationManager =
|
|
61
|
+
exports.InMemoryClientRegistrationManager = InMemoryClientRegistrationManager = __decorate([
|
|
53
62
|
(0, core_1.Component)(registration_protocol_1.ClientRegistrationManager)
|
|
54
63
|
], InMemoryClientRegistrationManager);
|
|
55
|
-
exports.InMemoryClientRegistrationManager = InMemoryClientRegistrationManager;
|
|
56
64
|
//# sourceMappingURL=registration-manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registration-manager.js","sourceRoot":"","sources":["../../../src/node/registration/registration-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registration-manager.js","sourceRoot":"","sources":["../../../src/node/registration/registration-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAAwF;AACxF,uCAAgD;AAChD,qDAAyF;AAGlF,IAAM,iCAAiC,GAAvC,MAAM,iCAAiC;IAAvC;QAGgB,kBAAa,GAAyC,EAAE,CAAC;QAGzD,0BAAqB,GAAyC,EAAE,CAAC;QAK1E,gBAAW,GAAG,KAAK,CAAC;IA8BlC,CAAC;IA5BG,KAAK,CAAC,GAAG,CAAC,cAAsB;QAC5B,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACpB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;gBAClC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,CAAC,EAAE,CAAC;oBAC/D,MAAM,QAAQ,GAAG,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC;oBAChD,MAAM,YAAY,GAAG,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,CAAC;oBAChE,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC;oBACtC,YAAY,CAAC,cAAc,GAAG,EAAE,CAAC;oBACjC,YAAY,CAAC,0BAA0B,GAAG,YAAY,CAAC,0BAA0B,IAAI,IAAI,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;oBACzI,YAAY,CAAC,WAAW,GAAG,YAAY,CAAC,WAAW,IAAI,IAAI,CAAC,kBAAkB,CAAC;oBAC/E,YAAY,CAAC,QAAQ,GAAG,YAAY,CAAC,QAAQ,IAAI,EAAE,CAAC;oBACpD,YAAY,CAAC,UAAU,GAAG,YAAY,CAAC,UAAU,IAAI,EAAE,CAAC;gBAC5D,CAAC;YACL,CAAC;YACD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IAC9C,CAAC;IAES,gCAAgC,CAAC,kBAAsC;QAC7E,IAAI,oCAAsB,CAAC,iBAAiB,KAAK,kBAAkB,CAAC,sBAAsB;eACnF,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;YACtC,OAAO,wCAA0B,CAAC,IAAI,CAAC;QAC3C,CAAC;QACD,OAAO,wCAA0B,CAAC,KAAK,CAAC;IAC5C,CAAC;CAEJ,CAAA;AAzCY,8EAAiC;AAGvB;IADlB,IAAA,YAAK,EAAC,kCAAkC,CAAC;;wEACkC;AAGzD;IADlB,IAAA,YAAK,EAAC,0CAA0C,CAAC;;gFACkC;AAGjE;IADlB,IAAA,YAAK,EAAC,uCAAuC,CAAC;;6EACD;4CATrC,iCAAiC;IAD7C,IAAA,gBAAS,EAAC,iDAAyB,CAAC;GACxB,iCAAiC,CAyC7C"}
|
package/lib/node/user/index.js
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
tslib_1.__exportStar(require("./oidc-user-service"), exports);
|
|
17
|
+
__exportStar(require("./user-protocol"), exports);
|
|
18
|
+
__exportStar(require("./oauth2-user-service"), exports);
|
|
19
|
+
__exportStar(require("./oidc-user-service"), exports);
|
|
7
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/user/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,wDAAsC;AACtC,sDAAoC"}
|