@tsed/oidc-provider 7.0.0-beta.2 → 7.0.0-beta.20
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/coverage.json +6 -0
- package/jest.config.js +9 -0
- package/lib/cjs/OidcModule.js +28 -18
- package/lib/cjs/OidcModule.js.map +1 -1
- package/lib/cjs/constants/{index.js → constants.js} +1 -1
- package/lib/cjs/constants/constants.js.map +1 -0
- package/lib/cjs/decorators/grantId.js +1 -1
- package/lib/cjs/decorators/grantId.js.map +1 -1
- package/lib/cjs/decorators/interaction.js +1 -1
- package/lib/cjs/decorators/interaction.js.map +1 -1
- package/lib/cjs/decorators/interactions.js +1 -1
- package/lib/cjs/decorators/interactions.js.map +1 -1
- package/lib/cjs/decorators/oidcCtx.js +1 -1
- package/lib/cjs/decorators/oidcCtx.js.map +1 -1
- package/lib/cjs/decorators/oidcSession.js +1 -1
- package/lib/cjs/decorators/oidcSession.js.map +1 -1
- package/lib/cjs/decorators/params.js +1 -1
- package/lib/cjs/decorators/params.js.map +1 -1
- package/lib/cjs/decorators/prompt.js +1 -1
- package/lib/cjs/decorators/prompt.js.map +1 -1
- package/lib/cjs/decorators/uid.js +1 -1
- package/lib/cjs/decorators/uid.js.map +1 -1
- package/lib/cjs/domain/OidcAccountsMethods.js.map +1 -1
- package/lib/cjs/domain/OidcBadInteractionName.js +8 -0
- package/lib/cjs/domain/OidcBadInteractionName.js.map +1 -0
- package/lib/cjs/domain/OidcInteractionPromptProps.js +3 -0
- package/lib/cjs/domain/OidcInteractionPromptProps.js.map +1 -0
- package/lib/cjs/domain/OidcSettings.js.map +1 -1
- package/lib/cjs/domain/interfaces.js +3 -0
- package/lib/cjs/domain/interfaces.js.map +1 -0
- package/lib/cjs/index.js +31 -11
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/middlewares/OidcInteractionMiddleware.js +7 -27
- package/lib/cjs/middlewares/OidcInteractionMiddleware.js.map +1 -1
- package/lib/cjs/middlewares/OidcNoCacheMiddleware.js +6 -6
- package/lib/cjs/middlewares/OidcNoCacheMiddleware.js.map +1 -1
- package/lib/cjs/middlewares/OidcSecureMiddleware.js +7 -7
- package/lib/cjs/middlewares/OidcSecureMiddleware.js.map +1 -1
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/services/OidcAdapters.js +25 -3
- package/lib/cjs/services/OidcAdapters.js.map +1 -1
- package/lib/cjs/services/OidcInteractionContext.js +70 -25
- package/lib/cjs/services/OidcInteractionContext.js.map +1 -1
- package/lib/cjs/services/OidcInteractions.js +16 -15
- package/lib/cjs/services/OidcInteractions.js.map +1 -1
- package/lib/cjs/services/OidcJwks.js +8 -5
- package/lib/cjs/services/OidcJwks.js.map +1 -1
- package/lib/cjs/services/OidcProvider.js +43 -31
- package/lib/cjs/services/OidcProvider.js.map +1 -1
- package/lib/cjs/utils/debug.js +1 -1
- package/lib/cjs/utils/debug.js.map +1 -1
- package/lib/esm/OidcModule.js +20 -10
- package/lib/esm/OidcModule.js.map +1 -1
- package/lib/esm/constants/{index.js → constants.js} +1 -1
- package/lib/esm/constants/constants.js.map +1 -0
- package/lib/esm/decorators/grantId.js +1 -1
- package/lib/esm/decorators/grantId.js.map +1 -1
- package/lib/esm/decorators/interaction.js +1 -1
- package/lib/esm/decorators/interaction.js.map +1 -1
- package/lib/esm/decorators/interactions.js +3 -3
- package/lib/esm/decorators/interactions.js.map +1 -1
- package/lib/esm/decorators/noCache.js +1 -1
- package/lib/esm/decorators/oidcCtx.js +1 -1
- package/lib/esm/decorators/oidcCtx.js.map +1 -1
- package/lib/esm/decorators/oidcSession.js +1 -1
- package/lib/esm/decorators/oidcSession.js.map +1 -1
- package/lib/esm/decorators/params.js +1 -1
- package/lib/esm/decorators/params.js.map +1 -1
- package/lib/esm/decorators/prompt.js +1 -1
- package/lib/esm/decorators/prompt.js.map +1 -1
- package/lib/esm/decorators/uid.js +1 -1
- package/lib/esm/decorators/uid.js.map +1 -1
- package/lib/esm/domain/OidcAccountsMethods.js.map +1 -1
- package/lib/esm/domain/OidcBadInteractionName.js +4 -0
- package/lib/esm/domain/OidcBadInteractionName.js.map +1 -0
- package/lib/esm/domain/OidcInteractionPromptProps.js +2 -0
- package/lib/esm/domain/OidcInteractionPromptProps.js.map +1 -0
- package/lib/esm/domain/OidcSettings.js.map +1 -1
- package/lib/esm/domain/interfaces.js +2 -0
- package/lib/esm/domain/interfaces.js.map +1 -0
- package/lib/esm/index.js +31 -11
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/middlewares/OidcInteractionMiddleware.js +8 -28
- package/lib/esm/middlewares/OidcInteractionMiddleware.js.map +1 -1
- package/lib/esm/package.json +3 -0
- package/lib/esm/services/OidcAdapters.js +22 -0
- package/lib/esm/services/OidcAdapters.js.map +1 -1
- package/lib/esm/services/OidcInteractionContext.js +65 -20
- package/lib/esm/services/OidcInteractionContext.js.map +1 -1
- package/lib/esm/services/OidcInteractions.js +9 -8
- package/lib/esm/services/OidcInteractions.js.map +1 -1
- package/lib/esm/services/OidcJwks.js +3 -0
- package/lib/esm/services/OidcJwks.js.map +1 -1
- package/lib/esm/services/OidcProvider.js +24 -12
- package/lib/esm/services/OidcProvider.js.map +1 -1
- package/lib/types/OidcModule.d.ts +5 -5
- package/lib/types/constants/{index.d.ts → constants.d.ts} +0 -0
- package/lib/types/decorators/interaction.d.ts +1 -1
- package/lib/types/domain/OidcAccountsMethods.d.ts +2 -2
- package/lib/types/domain/OidcBadInteractionName.d.ts +3 -0
- package/lib/types/domain/OidcInteractionPromptProps.d.ts +9 -0
- package/lib/types/domain/OidcSettings.d.ts +9 -1
- package/lib/types/domain/interfaces.d.ts +3 -0
- package/lib/types/index.d.ts +24 -4
- package/lib/types/middlewares/OidcInteractionMiddleware.d.ts +3 -5
- package/lib/types/services/OidcAdapters.d.ts +3 -2
- package/lib/types/services/OidcInteractionContext.d.ts +9 -4
- package/lib/types/services/OidcInteractions.d.ts +1 -1
- package/lib/types/services/OidcProvider.d.ts +3 -3
- package/package.json +26 -23
- package/readme.md +31 -35
- package/tsconfig.compile.esm.json +1 -12
- package/.mocharc.js +0 -5
- package/.nycrc +0 -27
- package/lib/cjs/constants/index.js.map +0 -1
- package/lib/cjs/decorators/index.js +0 -13
- package/lib/cjs/decorators/index.js.map +0 -1
- package/lib/cjs/domain/index.js +0 -9
- package/lib/cjs/domain/index.js.map +0 -1
- package/lib/esm/constants/index.js.map +0 -1
- package/lib/esm/decorators/index.js +0 -10
- package/lib/esm/decorators/index.js.map +0 -1
- package/lib/esm/domain/index.js +0 -6
- package/lib/esm/domain/index.js.map +0 -1
- package/lib/types/decorators/index.d.ts +0 -9
- package/lib/types/domain/index.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/oidc-provider",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.20",
|
|
4
4
|
"description": "OIDC provider package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
|
+
"module": "./lib/esm/index.js",
|
|
8
9
|
"typings": "./lib/types/index.d.ts",
|
|
9
10
|
"exports": {
|
|
10
11
|
"types": "./lib/types/index.d.ts",
|
|
@@ -13,48 +14,50 @@
|
|
|
13
14
|
"default": "./lib/esm/index.js"
|
|
14
15
|
},
|
|
15
16
|
"scripts": {
|
|
16
|
-
"build": "yarn run build:esm && yarn run build:cjs",
|
|
17
|
+
"build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
|
|
17
18
|
"build:cjs": "tsc --build tsconfig.compile.json",
|
|
18
19
|
"build:esm": "tsc --build tsconfig.compile.esm.json",
|
|
19
20
|
"start": "ts-node -r tsconfig-paths/register test/app/index.ts",
|
|
20
|
-
"
|
|
21
|
+
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
|
|
22
|
+
"test": "cross-env NODE_ENV=test yarn jest --max-workers=2"
|
|
21
23
|
},
|
|
22
24
|
"dependencies": {
|
|
23
|
-
"@tsed/adapters": "7.0.0-beta.
|
|
25
|
+
"@tsed/adapters": "7.0.0-beta.20",
|
|
24
26
|
"express-urlrewrite": "^1.4.0",
|
|
25
27
|
"jose2": "npm:jose@^2.0.4",
|
|
26
28
|
"koa-mount": "^4.0.0",
|
|
27
29
|
"koa-rewrite": "^3.0.1",
|
|
28
|
-
"
|
|
29
|
-
"tslib": "2.2.0",
|
|
30
|
+
"tslib": "2.4.0",
|
|
30
31
|
"uuid": "8.3.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
|
-
"@tsed/common": "7.0.0-beta.
|
|
34
|
-
"@tsed/core": "7.0.0-beta.
|
|
35
|
-
"@tsed/di": "7.0.0-beta.
|
|
36
|
-
"@tsed/exceptions": "7.0.0-beta.
|
|
37
|
-
"@types/lowdb": "1.0.
|
|
34
|
+
"@tsed/common": "7.0.0-beta.20",
|
|
35
|
+
"@tsed/core": "7.0.0-beta.20",
|
|
36
|
+
"@tsed/di": "7.0.0-beta.20",
|
|
37
|
+
"@tsed/exceptions": "7.0.0-beta.20",
|
|
38
|
+
"@types/lowdb": "1.0.11",
|
|
38
39
|
"@types/oidc-provider": "^7.1.1",
|
|
39
|
-
"@types/uuid": "8.3.
|
|
40
|
-
"
|
|
40
|
+
"@types/uuid": "8.3.4",
|
|
41
|
+
"lowdb": "3.0.0",
|
|
42
|
+
"oidc-provider": "7.11.1"
|
|
41
43
|
},
|
|
42
44
|
"peerDependencies": {
|
|
43
|
-
"@tsed/common": "^7.0.0-beta.
|
|
44
|
-
"@tsed/core": "^7.0.0-beta.2",
|
|
45
|
-
"@tsed/di": "^7.0.0-beta.2",
|
|
46
|
-
"@tsed/exceptions": "^7.0.0-beta.2",
|
|
47
|
-
"@tsed/json-mapper": "^7.0.0-beta.2",
|
|
48
|
-
"@tsed/logger": ">=6.0.0",
|
|
49
|
-
"@tsed/openspec": "^7.0.0-beta.2",
|
|
50
|
-
"@tsed/schema": "^7.0.0-beta.2",
|
|
45
|
+
"@tsed/common": "^7.0.0-beta.20",
|
|
51
46
|
"oidc-provider": ">=7.3.0"
|
|
52
47
|
},
|
|
48
|
+
"peerDependenciesMeta": {
|
|
49
|
+
"@tsed/common": {
|
|
50
|
+
"optional": false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
53
|
"repository": "https://github.com/tsedio/tsed",
|
|
54
54
|
"bugs": {
|
|
55
55
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
56
56
|
},
|
|
57
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
57
|
+
"homepage": "https://github.com/tsedio/tsed/tree/beta/packages/security/oidc-provider",
|
|
58
58
|
"author": "Romain Lenzotti",
|
|
59
|
-
"license": "MIT"
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"tag": "beta"
|
|
62
|
+
}
|
|
60
63
|
}
|
package/readme.md
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
[](https://badge.fury.io/js/%40tsed%2Fcommon)
|
|
12
12
|
[](https://github.com/semantic-release/semantic-release)
|
|
13
13
|
[](https://github.com/prettier/prettier)
|
|
14
|
-
[](https://github.com/sponsors/romakita)
|
|
15
|
+
[](https://opencollective.com/tsed)
|
|
15
16
|
|
|
16
17
|
</div>
|
|
17
18
|
|
|
@@ -32,7 +33,7 @@ A package of Ts.ED framework. See website: https://tsed.io/tutorials/oidc-provid
|
|
|
32
33
|
## Feature
|
|
33
34
|
|
|
34
35
|
Currently, `@tsed/oidc-provider` allows you:
|
|
35
|
-
|
|
36
|
+
|
|
36
37
|
- Configure the server with [oidc-provider](https://github.com/panva/node-oidc-provider)
|
|
37
38
|
- Configure Clients and Accounts classes to manage clients and accounts
|
|
38
39
|
- Configure an adapter to connect your oidc to any database
|
|
@@ -42,6 +43,7 @@ Currently, `@tsed/oidc-provider` allows you:
|
|
|
42
43
|
## Installation
|
|
43
44
|
|
|
44
45
|
To begin, install the oidc-provider module for TS.ED:
|
|
46
|
+
|
|
45
47
|
```bash
|
|
46
48
|
npm install --save @tsed/oidc-provider
|
|
47
49
|
npm install --save oidc-provider
|
|
@@ -55,38 +57,34 @@ import "@tsed/oidc-provider"; // import typeorm ts.ed module
|
|
|
55
57
|
import {Accounts} from "../services/Accounts";
|
|
56
58
|
import {MemoryAdapter} from "../adapters/MemoryAdapter";
|
|
57
59
|
|
|
58
|
-
export const rootDir = __dirname;
|
|
59
|
-
|
|
60
60
|
@Configuration({
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
61
|
+
oidc: {
|
|
62
|
+
jwksPath: `./../keys/jwks.json`, // don't forget add this path to .gitignore
|
|
63
|
+
Adapter: MemoryAdapter,
|
|
64
|
+
Accounts: Accounts,
|
|
65
|
+
allowHttpLocalhost: false, // by default. true in dev mode and false in production
|
|
66
|
+
// Clients: Clients,
|
|
67
|
+
clients: [
|
|
68
|
+
{
|
|
69
|
+
client_id: "client_id",
|
|
70
|
+
client_secret: "client_secret",
|
|
71
|
+
redirect_uris: ["https://host.fr/"]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
options: {
|
|
75
|
+
// Oidc-provider options See https://github.com/panva/node-oidc-provider/blob/master/docs/README.md
|
|
76
|
+
formats: {
|
|
77
|
+
AccessToken: "jwt"
|
|
78
|
+
},
|
|
79
|
+
features: {
|
|
80
|
+
encryption: {enabled: true},
|
|
81
|
+
introspection: {enabled: true},
|
|
82
|
+
revocation: {enabled: true}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
86
|
})
|
|
87
|
-
export class Server {
|
|
88
|
-
|
|
89
|
-
}
|
|
87
|
+
export class Server {}
|
|
90
88
|
```
|
|
91
89
|
|
|
92
90
|
## Contributors
|
|
@@ -95,14 +93,12 @@ Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
|
|
|
95
93
|
|
|
96
94
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
97
95
|
|
|
98
|
-
|
|
99
96
|
## Backers
|
|
100
97
|
|
|
101
98
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
|
|
102
99
|
|
|
103
100
|
<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>
|
|
104
101
|
|
|
105
|
-
|
|
106
102
|
## Sponsors
|
|
107
103
|
|
|
108
104
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
|
|
@@ -111,7 +107,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
|
|
|
111
107
|
|
|
112
108
|
The MIT License (MIT)
|
|
113
109
|
|
|
114
|
-
Copyright (c) 2016 -
|
|
110
|
+
Copyright (c) 2016 - 2022 Romain Lenzotti
|
|
115
111
|
|
|
116
112
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
117
113
|
|
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
"declaration": true,
|
|
9
9
|
"declarationDir": "./lib/types"
|
|
10
10
|
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"node_modules",
|
|
13
|
-
"test",
|
|
14
|
-
"lib",
|
|
15
|
-
"benchmark",
|
|
16
|
-
"coverage",
|
|
17
|
-
"spec",
|
|
18
|
-
"**/*.benchmark.ts",
|
|
19
|
-
"**/*.spec.ts",
|
|
20
|
-
"keys",
|
|
21
|
-
"jest.config.js"
|
|
22
|
-
]
|
|
11
|
+
"exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
|
|
23
12
|
}
|
package/.mocharc.js
DELETED
package/.nycrc
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": [
|
|
3
|
-
"src/**/*.ts"
|
|
4
|
-
],
|
|
5
|
-
"exclude": [
|
|
6
|
-
"**/*.d.ts",
|
|
7
|
-
"node_modules",
|
|
8
|
-
"**/interfaces/**",
|
|
9
|
-
"**/index.ts",
|
|
10
|
-
"**/*.spec.ts"
|
|
11
|
-
],
|
|
12
|
-
"extension": [
|
|
13
|
-
".ts"
|
|
14
|
-
],
|
|
15
|
-
"require": [],
|
|
16
|
-
"reporter": [
|
|
17
|
-
"text-summary",
|
|
18
|
-
"html",
|
|
19
|
-
"lcov",
|
|
20
|
-
"json"
|
|
21
|
-
],
|
|
22
|
-
"check-coverage": true,
|
|
23
|
-
"statements": 99.67,
|
|
24
|
-
"branches": 77.78,
|
|
25
|
-
"functions": 96.07,
|
|
26
|
-
"lines": 99.65
|
|
27
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG,oBAAoB,CAAC;AAC3C,QAAA,kBAAkB,GAAG,mBAAmB,CAAC;AACzC,QAAA,oBAAoB,GAAG,oBAAoB,CAAC;AAC5C,QAAA,kBAAkB,GAAG,mBAAmB,CAAC;AACzC,QAAA,eAAe,GAAG,gBAAgB,CAAC;AACnC,QAAA,mBAAmB,GAAG,oBAAoB,CAAC;AAC3C,QAAA,mBAAmB,GAAG,oBAAoB,CAAC;AAC3C,QAAA,mBAAmB,GAAG,oBAAoB,CAAC;AAC3C,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,YAAY,GAAG,cAAc,CAAC","sourcesContent":["export const INTERACTION_CONTEXT = \"interactionContext\";\nexport const INTERACTION_PARAMS = \"interactionParams\";\nexport const INTERACTION_GRANT_ID = \"interactionGrantId\";\nexport const INTERACTION_PROMPT = \"interactionPrompt\";\nexport const INTERACTION_UID = \"interactionUid\";\nexport const INTERACTION_SESSION = \"interactionSession\";\nexport const INTERACTION_DETAILS = \"interactionDetails\";\nexport const INTERACTION_OPTIONS = \"interactionOptions\";\nexport const INTERACTION = \"interaction\";\nexport const INTERACTIONS = \"interactions\";\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
(0, tslib_1.__exportStar)(require("./interactions"), exports);
|
|
5
|
-
(0, tslib_1.__exportStar)(require("./interaction"), exports);
|
|
6
|
-
(0, tslib_1.__exportStar)(require("./noCache"), exports);
|
|
7
|
-
(0, tslib_1.__exportStar)(require("./oidcCtx"), exports);
|
|
8
|
-
(0, tslib_1.__exportStar)(require("./oidcSession"), exports);
|
|
9
|
-
(0, tslib_1.__exportStar)(require("./params"), exports);
|
|
10
|
-
(0, tslib_1.__exportStar)(require("./prompt"), exports);
|
|
11
|
-
(0, tslib_1.__exportStar)(require("./uid"), exports);
|
|
12
|
-
(0, tslib_1.__exportStar)(require("./grantId"), exports);
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":";;;AAAA,8DAA+B;AAC/B,6DAA8B;AAC9B,yDAA0B;AAC1B,yDAA0B;AAC1B,6DAA8B;AAC9B,wDAAyB;AACzB,wDAAyB;AACzB,qDAAsB;AACtB,yDAA0B","sourcesContent":["export * from \"./interactions\";\nexport * from \"./interaction\";\nexport * from \"./noCache\";\nexport * from \"./oidcCtx\";\nexport * from \"./oidcSession\";\nexport * from \"./params\";\nexport * from \"./prompt\";\nexport * from \"./uid\";\nexport * from \"./grantId\";\n"]}
|
package/lib/cjs/domain/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
(0, tslib_1.__exportStar)(require("./OidcAccountsMethods"), exports);
|
|
5
|
-
(0, tslib_1.__exportStar)(require("./OidcInteraction"), exports);
|
|
6
|
-
(0, tslib_1.__exportStar)(require("./OidcInteractionMethods"), exports);
|
|
7
|
-
(0, tslib_1.__exportStar)(require("./OidcInteractionOptions"), exports);
|
|
8
|
-
(0, tslib_1.__exportStar)(require("./OidcSettings"), exports);
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/index.ts"],"names":[],"mappings":";;;AAEA,qEAAsC;AACtC,iEAAkC;AAClC,wEAAyC;AACzC,wEAAyC;AACzC,8DAA+B","sourcesContent":["import {Provider, interactionPolicy} from \"oidc-provider\";\n\nexport * from \"./OidcAccountsMethods\";\nexport * from \"./OidcInteraction\";\nexport * from \"./OidcInteractionMethods\";\nexport * from \"./OidcInteractionOptions\";\nexport * from \"./OidcSettings\";\n\nexport type OidcClient = InstanceType<Provider[\"Client\"]>;\nexport type DefaultPolicy = interactionPolicy.DefaultPolicy;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AACxD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AACxD,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AACxD,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AACxD,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AACzC,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC","sourcesContent":["export const INTERACTION_CONTEXT = \"interactionContext\";\nexport const INTERACTION_PARAMS = \"interactionParams\";\nexport const INTERACTION_GRANT_ID = \"interactionGrantId\";\nexport const INTERACTION_PROMPT = \"interactionPrompt\";\nexport const INTERACTION_UID = \"interactionUid\";\nexport const INTERACTION_SESSION = \"interactionSession\";\nexport const INTERACTION_DETAILS = \"interactionDetails\";\nexport const INTERACTION_OPTIONS = \"interactionOptions\";\nexport const INTERACTION = \"interaction\";\nexport const INTERACTIONS = \"interactions\";\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./interactions";
|
|
2
|
-
export * from "./interaction";
|
|
3
|
-
export * from "./noCache";
|
|
4
|
-
export * from "./oidcCtx";
|
|
5
|
-
export * from "./oidcSession";
|
|
6
|
-
export * from "./params";
|
|
7
|
-
export * from "./prompt";
|
|
8
|
-
export * from "./uid";
|
|
9
|
-
export * from "./grantId";
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC","sourcesContent":["export * from \"./interactions\";\nexport * from \"./interaction\";\nexport * from \"./noCache\";\nexport * from \"./oidcCtx\";\nexport * from \"./oidcSession\";\nexport * from \"./params\";\nexport * from \"./prompt\";\nexport * from \"./uid\";\nexport * from \"./grantId\";\n"]}
|
package/lib/esm/domain/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/index.ts"],"names":[],"mappings":"AAEA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC","sourcesContent":["import {Provider, interactionPolicy} from \"oidc-provider\";\n\nexport * from \"./OidcAccountsMethods\";\nexport * from \"./OidcInteraction\";\nexport * from \"./OidcInteractionMethods\";\nexport * from \"./OidcInteractionOptions\";\nexport * from \"./OidcSettings\";\n\nexport type OidcClient = InstanceType<Provider[\"Client\"]>;\nexport type DefaultPolicy = interactionPolicy.DefaultPolicy;\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./interactions";
|
|
2
|
-
export * from "./interaction";
|
|
3
|
-
export * from "./noCache";
|
|
4
|
-
export * from "./oidcCtx";
|
|
5
|
-
export * from "./oidcSession";
|
|
6
|
-
export * from "./params";
|
|
7
|
-
export * from "./prompt";
|
|
8
|
-
export * from "./uid";
|
|
9
|
-
export * from "./grantId";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Provider, interactionPolicy } from "oidc-provider";
|
|
2
|
-
export * from "./OidcAccountsMethods";
|
|
3
|
-
export * from "./OidcInteraction";
|
|
4
|
-
export * from "./OidcInteractionMethods";
|
|
5
|
-
export * from "./OidcInteractionOptions";
|
|
6
|
-
export * from "./OidcSettings";
|
|
7
|
-
export declare type OidcClient = InstanceType<Provider["Client"]>;
|
|
8
|
-
export declare type DefaultPolicy = interactionPolicy.DefaultPolicy;
|