@web-ts-toolkit/express-oidc-vault 0.52.0 → 0.54.0
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/README.md +416 -45
- package/index.d.mts +200 -8
- package/index.d.ts +200 -8
- package/index.js +992 -186
- package/index.mjs +988 -187
- package/package.json +1 -1
- package/wire.d.mts +11 -1
- package/wire.d.ts +11 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@web-ts-toolkit/express-oidc-vault",
|
|
3
3
|
"description": "Express OIDC sessions with body or cookie transport, optional DPoP-bound local JWTs, and pluggable vault stores",
|
|
4
4
|
"homepage": "https://web-ts-toolkit.pages.dev/docs/packages/express-oidc-vault",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.54.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"keywords": [
|
|
8
8
|
"express",
|
package/wire.d.mts
CHANGED
|
@@ -70,7 +70,17 @@ interface OidcVaultLogoutResult {
|
|
|
70
70
|
*/
|
|
71
71
|
loggedOut: true;
|
|
72
72
|
}
|
|
73
|
+
/** JSON-only POST <basePath>/logout/navigation. Proof belongs in DPoP, with no access token or ath. */
|
|
74
|
+
interface OidcVaultLogoutNavigationInput {
|
|
75
|
+
/** Required nonempty handle in body transport; ignored in cookie transport, which selects only the configured cookie. */
|
|
76
|
+
sessionId?: string;
|
|
77
|
+
}
|
|
78
|
+
/** Confirmed local logout, not an IdP delivery receipt. Never contains an upstream token-bearing URL. */
|
|
79
|
+
interface OidcVaultLogoutNavigationResult extends OidcVaultLogoutResult {
|
|
80
|
+
/** Absolute pinned backend continuation URL, bare or with one opaque one-use ticket. Navigate at top level; do not fetch the provider redirect. */
|
|
81
|
+
navigationUrl: string;
|
|
82
|
+
}
|
|
73
83
|
/** Vault handle transport; independent of DPoP mode. Default: body. */
|
|
74
84
|
type OidcVaultSessionTransport = 'body' | 'cookie';
|
|
75
85
|
|
|
76
|
-
export type { OidcVaultExchangeResult, OidcVaultLoginInitiationInput, OidcVaultLoginInitiationResult, OidcVaultLogoutResult, OidcVaultSessionTransport, OidcVaultTokenIssueResult, OidcVaultUserProfile };
|
|
86
|
+
export type { OidcVaultExchangeResult, OidcVaultLoginInitiationInput, OidcVaultLoginInitiationResult, OidcVaultLogoutNavigationInput, OidcVaultLogoutNavigationResult, OidcVaultLogoutResult, OidcVaultSessionTransport, OidcVaultTokenIssueResult, OidcVaultUserProfile };
|
package/wire.d.ts
CHANGED
|
@@ -70,7 +70,17 @@ interface OidcVaultLogoutResult {
|
|
|
70
70
|
*/
|
|
71
71
|
loggedOut: true;
|
|
72
72
|
}
|
|
73
|
+
/** JSON-only POST <basePath>/logout/navigation. Proof belongs in DPoP, with no access token or ath. */
|
|
74
|
+
interface OidcVaultLogoutNavigationInput {
|
|
75
|
+
/** Required nonempty handle in body transport; ignored in cookie transport, which selects only the configured cookie. */
|
|
76
|
+
sessionId?: string;
|
|
77
|
+
}
|
|
78
|
+
/** Confirmed local logout, not an IdP delivery receipt. Never contains an upstream token-bearing URL. */
|
|
79
|
+
interface OidcVaultLogoutNavigationResult extends OidcVaultLogoutResult {
|
|
80
|
+
/** Absolute pinned backend continuation URL, bare or with one opaque one-use ticket. Navigate at top level; do not fetch the provider redirect. */
|
|
81
|
+
navigationUrl: string;
|
|
82
|
+
}
|
|
73
83
|
/** Vault handle transport; independent of DPoP mode. Default: body. */
|
|
74
84
|
type OidcVaultSessionTransport = 'body' | 'cookie';
|
|
75
85
|
|
|
76
|
-
export type { OidcVaultExchangeResult, OidcVaultLoginInitiationInput, OidcVaultLoginInitiationResult, OidcVaultLogoutResult, OidcVaultSessionTransport, OidcVaultTokenIssueResult, OidcVaultUserProfile };
|
|
86
|
+
export type { OidcVaultExchangeResult, OidcVaultLoginInitiationInput, OidcVaultLoginInitiationResult, OidcVaultLogoutNavigationInput, OidcVaultLogoutNavigationResult, OidcVaultLogoutResult, OidcVaultSessionTransport, OidcVaultTokenIssueResult, OidcVaultUserProfile };
|