@ttt-productions/auth-core 1.6.16 → 1.6.17

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.
Files changed (66) hide show
  1. package/dist/acceptance.d.ts +0 -20
  2. package/dist/acceptance.d.ts.map +1 -1
  3. package/dist/acceptance.js +0 -20
  4. package/dist/acceptance.js.map +1 -1
  5. package/dist/client/auth.d.ts +0 -5
  6. package/dist/client/auth.d.ts.map +1 -1
  7. package/dist/client/auth.js +0 -5
  8. package/dist/client/auth.js.map +1 -1
  9. package/dist/client/claims.d.ts +0 -27
  10. package/dist/client/claims.d.ts.map +1 -1
  11. package/dist/client/claims.js +0 -27
  12. package/dist/client/claims.js.map +1 -1
  13. package/dist/client/index.d.ts.map +1 -1
  14. package/dist/client/index.js +0 -3
  15. package/dist/client/index.js.map +1 -1
  16. package/dist/email-verification.d.ts +0 -13
  17. package/dist/email-verification.d.ts.map +1 -1
  18. package/dist/email-verification.js +0 -16
  19. package/dist/email-verification.js.map +1 -1
  20. package/dist/errors.d.ts +0 -2
  21. package/dist/errors.d.ts.map +1 -1
  22. package/dist/errors.js +1 -8
  23. package/dist/errors.js.map +1 -1
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +0 -7
  26. package/dist/index.js.map +1 -1
  27. package/dist/react/AuthProvider.d.ts.map +1 -1
  28. package/dist/react/AuthProvider.js +1 -25
  29. package/dist/react/AuthProvider.js.map +1 -1
  30. package/dist/react/redirect-storage.d.ts.map +1 -1
  31. package/dist/react/redirect-storage.js +4 -13
  32. package/dist/react/redirect-storage.js.map +1 -1
  33. package/dist/react/types.d.ts +0 -21
  34. package/dist/react/types.d.ts.map +1 -1
  35. package/dist/react/types.js.map +1 -1
  36. package/dist/react/useAuth.d.ts +0 -4
  37. package/dist/react/useAuth.d.ts.map +1 -1
  38. package/dist/react/useAuth.js +0 -4
  39. package/dist/react/useAuth.js.map +1 -1
  40. package/dist/react/useAuthGuard.d.ts +0 -33
  41. package/dist/react/useAuthGuard.d.ts.map +1 -1
  42. package/dist/react/useAuthGuard.js +2 -32
  43. package/dist/react/useAuthGuard.js.map +1 -1
  44. package/dist/react/useAuthState.d.ts.map +1 -1
  45. package/dist/react/useAuthState.js +0 -4
  46. package/dist/react/useAuthState.js.map +1 -1
  47. package/dist/refusal.d.ts +0 -6
  48. package/dist/refusal.d.ts.map +1 -1
  49. package/dist/refusal.js +0 -12
  50. package/dist/refusal.js.map +1 -1
  51. package/dist/server/assertAuth.d.ts +1 -1
  52. package/dist/server/assertAuth.d.ts.map +1 -1
  53. package/dist/server/assertAuth.js +0 -22
  54. package/dist/server/assertAuth.js.map +1 -1
  55. package/dist/server/authError.d.ts +0 -48
  56. package/dist/server/authError.d.ts.map +1 -1
  57. package/dist/server/authError.js.map +1 -1
  58. package/dist/server/index.d.ts +1 -1
  59. package/dist/server/index.d.ts.map +1 -1
  60. package/dist/server/index.js +0 -1
  61. package/dist/server/index.js.map +1 -1
  62. package/dist/server/types.d.ts +5 -105
  63. package/dist/server/types.d.ts.map +1 -1
  64. package/dist/server/types.js +0 -2
  65. package/dist/server/types.js.map +1 -1
  66. package/package.json +1 -1
@@ -1,131 +1,31 @@
1
1
  import type { CallableRequest } from 'firebase-functions/v2/https';
2
2
  import type { DecodedIdToken } from 'firebase-admin/auth';
3
3
  import type { Firestore } from 'firebase-admin/firestore';
4
- /**
5
- * Per-callable requirements passed at every assertAuth call site.
6
- * These are application-agnostic.
7
- */
8
- export interface AuthRequirements {
9
- /**
10
- * Allow unverified email. Default: false.
11
- * If true, the emailVerified check is skipped entirely.
12
- * Special-case for system flows (e.g. user registration).
13
- */
4
+ export interface AuthRequirements<TAdminOptions = never> {
14
5
  allowUnverified?: boolean;
15
- /**
16
- * Require email_verified=true on the auth token.
17
- * Default: false. Skipped when allowUnverified=true.
18
- */
19
6
  emailVerified?: boolean;
20
- /**
21
- * Skip the status check entirely. Special-case for flows where the
22
- * user doc may not exist yet (e.g. user registration).
23
- * Default: false.
24
- */
25
7
  allowAnyStatus?: boolean;
26
- /**
27
- * Allow suspended users to pass the status check. Banned users still fail.
28
- * Use ONLY for callables that are a suspended user's last recourse
29
- * (e.g. admin-support chat / ban appeal).
30
- * Default: false. Does NOT skip the existence check.
31
- */
32
8
  allowSuspended?: boolean;
33
- /**
34
- * Let a caller below the currently required acceptance level through. Meaningful only
35
- * when the factory was configured with `acceptance`; ignored otherwise.
36
- * Use ONLY for callables that must work before the caller accepts: the accept callable
37
- * itself, registration (a new account holds no accepted level yet), and last-recourse
38
- * paths such as sign-out, support, refunds, account deletion, and legally required
39
- * reporting. Default: false.
40
- */
41
9
  allowUnaccepted?: boolean;
42
- /**
43
- * Require admin status. Delegates to config.requireAdmin().
44
- * The shape of this object is forwarded verbatim to the consumer's
45
- * requireAdmin callback — the package does not interpret it.
46
- */
47
- admin?: AdminCheckOptions;
10
+ admin?: TAdminOptions;
48
11
  }
49
- /**
50
- * Options forwarded to the consumer's requireAdmin callback. Generic shape.
51
- * Consuming apps may add their own fields; the package does not validate.
52
- */
53
- export interface AdminCheckOptions {
54
- allowJrAdmin?: boolean;
55
- useFastCheck?: boolean;
56
- errorMessage?: string;
57
- [key: string]: unknown;
58
- }
59
- /**
60
- * Return value from assertAuth. Generic over the consuming app's user
61
- * document type.
62
- */
63
12
  export interface AuthContext<TUser = unknown, TAdmin = void> {
64
13
  uid: string;
65
14
  token: DecodedIdToken;
66
- /** Populated when the user doc was read (default not-banned check). */
67
15
  userDoc?: TUser;
68
- /** Result returned by config.requireAdmin. Populated only when an admin check ran (AuthRequirements.admin was set). Undefined otherwise. */
69
16
  admin?: TAdmin;
70
17
  }
71
- /**
72
- * Status the consuming app reports for a user doc. The package only
73
- * interprets these three values.
74
- */
75
18
  export type UserStatus = 'active' | 'suspended' | 'banned';
76
- /**
77
- * Configuration for createAssertAuth. The consuming app supplies every
78
- * app-specific operation as a callback.
79
- */
80
- export interface AssertAuthConfig<TUser, TAdmin = void> {
81
- /**
82
- * Returns the admin Firestore instance. Called every assertAuth invocation
83
- * that needs a Firestore read. Implementations typically return
84
- * `admin.firestore()` from a memoized handle.
85
- */
19
+ export interface AssertAuthConfig<TUser, TAdmin = void, TAdminOptions = never> {
86
20
  firestore: () => Firestore;
87
- /**
88
- * Returns the Firestore document path for a user profile, given a uid.
89
- * Example: `userProfiles/${uid}`
90
- */
91
21
  userProfilePath: (uid: string) => string;
92
- /**
93
- * Returns the user's status given the user doc data. The package only
94
- * acts on 'active' | 'suspended' | 'banned'. Apps may store status in any
95
- * field; this callback interprets it.
96
- */
97
22
  getUserStatus: (user: TUser) => UserStatus;
98
- /**
99
- * Admin check. Called only when AuthRequirements.admin is set. The
100
- * package forwards uid, token, and the admin options verbatim. The
101
- * callback throws (typically HttpsError) on failure.
102
- */
103
- requireAdmin: (uid: string, token: DecodedIdToken, options: AdminCheckOptions) => Promise<TAdmin>;
104
- /**
105
- * Optional acceptance-level gate. When set, every assertAuth call that does not pass
106
- * `allowUnaccepted` refuses a caller whose accepted level (read from the token claim
107
- * `claimKey`) is below the level `requiredLevel()` returns. Absent = no gate, exactly the
108
- * behavior before the gate existed.
109
- */
23
+ requireAdmin: (uid: string, token: DecodedIdToken, options: TAdminOptions) => Promise<TAdmin>;
110
24
  acceptance?: AcceptanceGateConfig;
111
25
  }
112
- /**
113
- * The consuming app's acceptance-level wiring. The package holds no claim name and no
114
- * document knowledge: the app names the claim and supplies the current requirement.
115
- */
116
26
  export interface AcceptanceGateConfig {
117
- /** The custom claim on the verified ID token that holds the caller's accepted level. */
118
27
  claimKey: string;
119
- /**
120
- * The level currently required. Runs on every gated assertAuth, so it must be cheap —
121
- * read it from a cached snapshot, never a fresh Firestore read per call. A non-finite or
122
- * non-positive result requires nothing (see `normalizeAcceptanceLevel`); a throw rejects
123
- * the call.
124
- */
125
28
  requiredLevel: () => number | Promise<number>;
126
29
  }
127
- /**
128
- * The function returned by createAssertAuth.
129
- */
130
- export type AssertAuthFn<TUser, TAdmin = void> = (request: CallableRequest, requirements?: AuthRequirements) => Promise<AuthContext<TUser, TAdmin>>;
30
+ export type AssertAuthFn<TUser, TAdmin = void, TAdminOptions = never> = (request: CallableRequest, requirements?: AuthRequirements<TAdminOptions>) => Promise<AuthContext<TUser, TAdmin>>;
131
31
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW,CAAC,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,IAAI;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,cAAc,CAAC;IACtB,uEAAuE;IACvE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,4IAA4I;IAC5I,KAAK,CAAC,EAAE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a,CAAC,KAC3C,OAAO,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -1,4 +1,2 @@
1
- // Types for the createAssertAuth factory. Fully generic over the consuming
2
- // app's user document shape. The package contains no app-specific knowledge.
3
1
  export {};
4
2
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6EAA6E","sourcesContent":["// Types for the createAssertAuth factory. Fully generic over the consuming\n// app's user document shape. The package contains no app-specific knowledge.\n\nimport type { CallableRequest } from 'firebase-functions/v2/https';\nimport type { DecodedIdToken } from 'firebase-admin/auth';\nimport type { Firestore } from 'firebase-admin/firestore';\n\n/**\n * Per-callable requirements passed at every assertAuth call site.\n * These are application-agnostic.\n */\nexport interface AuthRequirements {\n /**\n * Allow unverified email. Default: false.\n * If true, the emailVerified check is skipped entirely.\n * Special-case for system flows (e.g. user registration).\n */\n allowUnverified?: boolean;\n\n /**\n * Require email_verified=true on the auth token.\n * Default: false. Skipped when allowUnverified=true.\n */\n emailVerified?: boolean;\n\n /**\n * Skip the status check entirely. Special-case for flows where the\n * user doc may not exist yet (e.g. user registration).\n * Default: false.\n */\n allowAnyStatus?: boolean;\n\n /**\n * Allow suspended users to pass the status check. Banned users still fail.\n * Use ONLY for callables that are a suspended user's last recourse\n * (e.g. admin-support chat / ban appeal).\n * Default: false. Does NOT skip the existence check.\n */\n allowSuspended?: boolean;\n\n /**\n * Let a caller below the currently required acceptance level through. Meaningful only\n * when the factory was configured with `acceptance`; ignored otherwise.\n * Use ONLY for callables that must work before the caller accepts: the accept callable\n * itself, registration (a new account holds no accepted level yet), and last-recourse\n * paths such as sign-out, support, refunds, account deletion, and legally required\n * reporting. Default: false.\n */\n allowUnaccepted?: boolean;\n\n /**\n * Require admin status. Delegates to config.requireAdmin().\n * The shape of this object is forwarded verbatim to the consumer's\n * requireAdmin callback — the package does not interpret it.\n */\n admin?: AdminCheckOptions;\n}\n\n/**\n * Options forwarded to the consumer's requireAdmin callback. Generic shape.\n * Consuming apps may add their own fields; the package does not validate.\n */\nexport interface AdminCheckOptions {\n allowJrAdmin?: boolean;\n useFastCheck?: boolean;\n errorMessage?: string;\n [key: string]: unknown;\n}\n\n/**\n * Return value from assertAuth. Generic over the consuming app's user\n * document type.\n */\nexport interface AuthContext<TUser = unknown, TAdmin = void> {\n uid: string;\n token: DecodedIdToken;\n /** Populated when the user doc was read (default not-banned check). */\n userDoc?: TUser;\n /** Result returned by config.requireAdmin. Populated only when an admin check ran (AuthRequirements.admin was set). Undefined otherwise. */\n admin?: TAdmin;\n}\n\n/**\n * Status the consuming app reports for a user doc. The package only\n * interprets these three values.\n */\nexport type UserStatus = 'active' | 'suspended' | 'banned';\n\n/**\n * Configuration for createAssertAuth. The consuming app supplies every\n * app-specific operation as a callback.\n */\nexport interface AssertAuthConfig<TUser, TAdmin = void> {\n /**\n * Returns the admin Firestore instance. Called every assertAuth invocation\n * that needs a Firestore read. Implementations typically return\n * `admin.firestore()` from a memoized handle.\n */\n firestore: () => Firestore;\n\n /**\n * Returns the Firestore document path for a user profile, given a uid.\n * Example: `userProfiles/${uid}`\n */\n userProfilePath: (uid: string) => string;\n\n /**\n * Returns the user's status given the user doc data. The package only\n * acts on 'active' | 'suspended' | 'banned'. Apps may store status in any\n * field; this callback interprets it.\n */\n getUserStatus: (user: TUser) => UserStatus;\n\n /**\n * Admin check. Called only when AuthRequirements.admin is set. The\n * package forwards uid, token, and the admin options verbatim. The\n * callback throws (typically HttpsError) on failure.\n */\n requireAdmin: (uid: string, token: DecodedIdToken, options: AdminCheckOptions) => Promise<TAdmin>;\n\n /**\n * Optional acceptance-level gate. When set, every assertAuth call that does not pass\n * `allowUnaccepted` refuses a caller whose accepted level (read from the token claim\n * `claimKey`) is below the level `requiredLevel()` returns. Absent = no gate, exactly the\n * behavior before the gate existed.\n */\n acceptance?: AcceptanceGateConfig;\n}\n\n/**\n * The consuming app's acceptance-level wiring. The package holds no claim name and no\n * document knowledge: the app names the claim and supplies the current requirement.\n */\nexport interface AcceptanceGateConfig {\n /** The custom claim on the verified ID token that holds the caller's accepted level. */\n claimKey: string;\n\n /**\n * The level currently required. Runs on every gated assertAuth, so it must be cheap —\n * read it from a cached snapshot, never a fresh Firestore read per call. A non-finite or\n * non-positive result requires nothing (see `normalizeAcceptanceLevel`); a throw rejects\n * the call.\n */\n requiredLevel: () => number | Promise<number>;\n}\n\n/**\n * The function returned by createAssertAuth.\n */\nexport type AssertAuthFn<TUser, TAdmin = void> = (\n request: CallableRequest,\n requirements?: AuthRequirements,\n) => Promise<AuthContext<TUser, TAdmin>>;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { CallableRequest } from 'firebase-functions/v2/https';\nimport type { DecodedIdToken } from 'firebase-admin/auth';\nimport type { Firestore } from 'firebase-admin/firestore';\n\nexport interface AuthRequirements<TAdminOptions = never> {\n allowUnverified?: boolean;\n\n emailVerified?: boolean;\n\n allowAnyStatus?: boolean;\n\n allowSuspended?: boolean;\n\n allowUnaccepted?: boolean;\n\n admin?: TAdminOptions;\n}\n\nexport interface AuthContext<TUser = unknown, TAdmin = void> {\n uid: string;\n token: DecodedIdToken;\n userDoc?: TUser;\n admin?: TAdmin;\n}\n\nexport type UserStatus = 'active' | 'suspended' | 'banned';\n\nexport interface AssertAuthConfig<TUser, TAdmin = void, TAdminOptions = never> {\n firestore: () => Firestore;\n\n userProfilePath: (uid: string) => string;\n\n getUserStatus: (user: TUser) => UserStatus;\n\n requireAdmin: (uid: string, token: DecodedIdToken, options: TAdminOptions) => Promise<TAdmin>;\n\n acceptance?: AcceptanceGateConfig;\n}\n\nexport interface AcceptanceGateConfig {\n claimKey: string;\n\n requiredLevel: () => number | Promise<number>;\n}\n\nexport type AssertAuthFn<TUser, TAdmin = void, TAdminOptions = never> = (\n request: CallableRequest,\n requirements?: AuthRequirements<TAdminOptions>,\n) => Promise<AuthContext<TUser, TAdmin>>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/auth-core",
3
- "version": "1.6.16",
3
+ "version": "1.6.17",
4
4
  "description": "Shared Firebase authentication utilities and React hooks for TTT Productions apps",
5
5
  "repository": {
6
6
  "type": "git",