@passflow/node 0.1.3 → 0.3.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 +106 -3
- package/dist/adapter-Du22h3Lk.mjs +57 -0
- package/dist/adapter-DyCsMsEq.cjs +62 -0
- package/dist/evaluate-BAJUQu_Z.d.cts +141 -0
- package/dist/evaluate-BAJUQu_Z.d.mts +141 -0
- package/dist/{evaluate-BTuol-Oa.mjs → evaluate-CHts4VKy.mjs} +77 -18
- package/dist/{evaluate-C20MecTf.cjs → evaluate-Yv4mWPRI.cjs} +88 -17
- package/dist/express.cjs +22 -8
- package/dist/express.d.cts +15 -6
- package/dist/express.d.mts +15 -6
- package/dist/express.mjs +22 -8
- package/dist/fastify.cjs +22 -8
- package/dist/fastify.d.cts +17 -8
- package/dist/fastify.d.mts +17 -8
- package/dist/fastify.mjs +22 -8
- package/dist/hono.cjs +22 -8
- package/dist/hono.d.cts +16 -7
- package/dist/hono.d.mts +16 -7
- package/dist/hono.mjs +22 -8
- package/dist/index.cjs +85 -18
- package/dist/index.d.cts +34 -41
- package/dist/index.d.mts +34 -41
- package/dist/index.mjs +83 -18
- package/dist/loopback-ADMM_GlW.cjs +22 -0
- package/dist/loopback-CDiL_KzV.mjs +17 -0
- package/dist/manager-Bm3vM2Aw.d.cts +93 -0
- package/dist/manager-Bm3vM2Aw.d.mts +93 -0
- package/dist/session-browser.cjs +17 -0
- package/dist/session-browser.d.cts +5 -0
- package/dist/session-browser.d.mts +5 -0
- package/dist/session-browser.mjs +14 -0
- package/dist/session.cjs +923 -0
- package/dist/session.d.cts +7 -0
- package/dist/session.d.mts +7 -0
- package/dist/session.mjs +898 -0
- package/package.json +30 -3
- package/dist/claims-BHJhnzch.d.cts +0 -51
- package/dist/claims-BHJhnzch.d.mts +0 -51
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { a as createSessionManager, c as configFromEnv, i as SessionManager, n as PassflowUser, o as SessionConfig, r as Session, s as SessionRoutes, t as HandleResult } from "./manager-Bm3vM2Aw.cjs";
|
|
2
|
+
/**
|
|
3
|
+
* True when the `Cookie` header carries a session cookie of either scheme: the base name or any chunk. It is
|
|
4
|
+
* broader than the reader, so a request the reader can treat as signed in is always one this reports.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hasSessionCookie(cookieHeader: string | null | undefined): boolean;
|
|
7
|
+
export { type HandleResult, type PassflowUser, type Session, type SessionConfig, type SessionManager, type SessionRoutes, configFromEnv, createSessionManager };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { a as createSessionManager, c as configFromEnv, i as SessionManager, n as PassflowUser, o as SessionConfig, r as Session, s as SessionRoutes, t as HandleResult } from "./manager-Bm3vM2Aw.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* True when the `Cookie` header carries a session cookie of either scheme: the base name or any chunk. It is
|
|
4
|
+
* broader than the reader, so a request the reader can treat as signed in is always one this reports.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hasSessionCookie(cookieHeader: string | null | undefined): boolean;
|
|
7
|
+
export { type HandleResult, type PassflowUser, type Session, type SessionConfig, type SessionManager, type SessionRoutes, configFromEnv, createSessionManager };
|