@owlmeans/client-iam 0.1.18-rc.30 → 0.1.18-rc.32
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/build/login.d.ts +4 -12
- package/build/login.d.ts.map +1 -1
- package/build/login.js +4 -14
- package/build/login.js.map +1 -1
- package/package.json +8 -8
- package/src/login.ts +4 -16
package/build/login.d.ts
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
import type { CommonEntrypoint } from '@owlmeans/entrypoint';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* The companion to {@link appendIam}: that one prepares the context, this one prepares the
|
|
6
|
-
* entrypoint list — it adds the authorization endpoints the browser calls and attaches the IAM
|
|
7
|
-
* dispatcher screen, and it prepends the OIDC guard to every entrypoint that already asks for
|
|
8
|
-
* authentication.
|
|
9
|
-
*
|
|
10
|
-
* Call it exactly ONCE per entrypoint list. It appends to the list it is given rather than
|
|
11
|
-
* returning a new one, so a second call adds the same entrypoints twice and the elevation that
|
|
12
|
-
* follows throws `Entrypoint with alias … is already elevated`.
|
|
2
|
+
* IAM sign-in is assembled from immutable declarations: decorate the app's protocol tree with
|
|
3
|
+
* {@link withIamGuard}, then append the browser-local {@link iamEntrypoints} bindings.
|
|
13
4
|
*/
|
|
14
|
-
export
|
|
5
|
+
export { withOidcGuard as withIamGuard } from '@owlmeans/oidc';
|
|
6
|
+
export { oidcEntrypoints as iamEntrypoints } from '@owlmeans/web-oidc-rp';
|
|
15
7
|
/**
|
|
16
8
|
* How a user signs in and out.
|
|
17
9
|
*
|
package/build/login.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../src/login.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../src/login.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,eAAe,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEzE;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACvE,YAAY,EACV,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EACzE,WAAW,EAAE,iBAAiB,EAAE,gBAAgB,GACjD,MAAM,6BAA6B,CAAA"}
|
package/build/login.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import { setupOidcGuard } from '@owlmeans/web-oidc-rp';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* The companion to {@link appendIam}: that one prepares the context, this one prepares the
|
|
6
|
-
* entrypoint list — it adds the authorization endpoints the browser calls and attaches the IAM
|
|
7
|
-
* dispatcher screen, and it prepends the OIDC guard to every entrypoint that already asks for
|
|
8
|
-
* authentication.
|
|
9
|
-
*
|
|
10
|
-
* Call it exactly ONCE per entrypoint list. It appends to the list it is given rather than
|
|
11
|
-
* returning a new one, so a second call adds the same entrypoints twice and the elevation that
|
|
12
|
-
* follows throws `Entrypoint with alias … is already elevated`.
|
|
2
|
+
* IAM sign-in is assembled from immutable declarations: decorate the app's protocol tree with
|
|
3
|
+
* {@link withIamGuard}, then append the browser-local {@link iamEntrypoints} bindings.
|
|
13
4
|
*/
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
};
|
|
5
|
+
export { withOidcGuard as withIamGuard } from '@owlmeans/oidc';
|
|
6
|
+
export { oidcEntrypoints as iamEntrypoints } from '@owlmeans/web-oidc-rp';
|
|
17
7
|
/**
|
|
18
8
|
* How a user signs in and out.
|
|
19
9
|
*
|
package/build/login.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../src/login.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../src/login.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,eAAe,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEzE;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/client-iam",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.32",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@owlmeans/client-auth": "^0.1.18-rc.
|
|
25
|
+
"@owlmeans/client-auth": "^0.1.18-rc.24",
|
|
26
26
|
"@owlmeans/consent": "^0.1.18-rc.4",
|
|
27
|
-
"@owlmeans/context": "^0.1.18-rc.
|
|
28
|
-
"@owlmeans/entrypoint": "^0.1.18-rc.
|
|
29
|
-
"@owlmeans/iam": "^0.1.18-rc.
|
|
30
|
-
"@owlmeans/oidc": "^0.1.18-rc.
|
|
31
|
-
"@owlmeans/web-client": "^0.1.18-rc.
|
|
32
|
-
"@owlmeans/web-oidc-rp": "^0.1.18-rc.
|
|
27
|
+
"@owlmeans/context": "^0.1.18-rc.12",
|
|
28
|
+
"@owlmeans/entrypoint": "^0.1.18-rc.15",
|
|
29
|
+
"@owlmeans/iam": "^0.1.18-rc.20",
|
|
30
|
+
"@owlmeans/oidc": "^0.1.18-rc.25",
|
|
31
|
+
"@owlmeans/web-client": "^0.1.18-rc.28",
|
|
32
|
+
"@owlmeans/web-oidc-rp": "^0.1.18-rc.30"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@owlmeans/dep-config": "workspace:*",
|
package/src/login.ts
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import type { CommonEntrypoint } from '@owlmeans/entrypoint'
|
|
2
|
-
import { setupOidcGuard } from '@owlmeans/web-oidc-rp'
|
|
3
|
-
|
|
4
1
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The companion to {@link appendIam}: that one prepares the context, this one prepares the
|
|
8
|
-
* entrypoint list — it adds the authorization endpoints the browser calls and attaches the IAM
|
|
9
|
-
* dispatcher screen, and it prepends the OIDC guard to every entrypoint that already asks for
|
|
10
|
-
* authentication.
|
|
11
|
-
*
|
|
12
|
-
* Call it exactly ONCE per entrypoint list. It appends to the list it is given rather than
|
|
13
|
-
* returning a new one, so a second call adds the same entrypoints twice and the elevation that
|
|
14
|
-
* follows throws `Entrypoint with alias … is already elevated`.
|
|
2
|
+
* IAM sign-in is assembled from immutable declarations: decorate the app's protocol tree with
|
|
3
|
+
* {@link withIamGuard}, then append the browser-local {@link iamEntrypoints} bindings.
|
|
15
4
|
*/
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
}
|
|
5
|
+
export { withOidcGuard as withIamGuard } from '@owlmeans/oidc'
|
|
6
|
+
export { oidcEntrypoints as iamEntrypoints } from '@owlmeans/web-oidc-rp'
|
|
19
7
|
|
|
20
8
|
/**
|
|
21
9
|
* How a user signs in and out.
|