@absolutejs/auth 0.73.1 → 0.75.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.
Files changed (48) hide show
  1. package/README.md +26 -0
  2. package/dist/apikeys/routes.d.ts +1 -1
  3. package/dist/authContext.d.ts +5 -5
  4. package/dist/authorization/protectPermission.d.ts +2 -2
  5. package/dist/client/index.js +7 -1
  6. package/dist/client/index.js.map +3 -3
  7. package/dist/client/mobile.d.ts +2 -0
  8. package/dist/client/mobile.js +7 -1
  9. package/dist/client/mobile.js.map +3 -3
  10. package/dist/compliance/routes.d.ts +1 -1
  11. package/dist/credentials/emailVerification.d.ts +1 -1
  12. package/dist/credentials/login.d.ts +1 -1
  13. package/dist/credentials/passwordReset.d.ts +1 -1
  14. package/dist/credentials/register.d.ts +1 -1
  15. package/dist/htmx/configuredRoutes.d.ts +5 -5
  16. package/dist/htmx/routes.d.ts +5 -5
  17. package/dist/index.d.ts +13 -12
  18. package/dist/index.js +1525 -1360
  19. package/dist/index.js.map +6 -5
  20. package/dist/mfa/challenge.d.ts +1 -1
  21. package/dist/mfa/management.d.ts +1 -1
  22. package/dist/mfa/sms.d.ts +1 -1
  23. package/dist/mfa/totp.d.ts +1 -1
  24. package/dist/nativePush.d.ts +768 -0
  25. package/dist/organizations/routes.d.ts +1 -1
  26. package/dist/portal/routes.d.ts +1 -1
  27. package/dist/roles/routes.d.ts +1 -1
  28. package/dist/routes/authorize.d.ts +1 -1
  29. package/dist/routes/callback.d.ts +1 -1
  30. package/dist/routes/profile.d.ts +1 -1
  31. package/dist/routes/protectRoute.d.ts +2 -2
  32. package/dist/routes/refresh.d.ts +1 -1
  33. package/dist/routes/revoke.d.ts +1 -1
  34. package/dist/routes/sessions.d.ts +1 -1
  35. package/dist/routes/signout.d.ts +1 -1
  36. package/dist/routes/userStatus.d.ts +1 -1
  37. package/dist/scim/routes.d.ts +1 -1
  38. package/dist/server.js +1521 -1360
  39. package/dist/server.js.map +6 -5
  40. package/dist/sso/discoveryRoute.d.ts +1 -1
  41. package/dist/sso/oidcRoutes.d.ts +1 -1
  42. package/dist/sso/samlIdpRoutes.d.ts +1 -1
  43. package/dist/sso/samlRoutes.d.ts +1 -1
  44. package/dist/types.d.ts +4 -0
  45. package/dist/vc/statusListRoutes.d.ts +1 -1
  46. package/dist/vc/vpRoutes.d.ts +1 -1
  47. package/dist/webauthn/routes.d.ts +1 -1
  48. package/package.json +1 -1
@@ -43,7 +43,7 @@ export declare const mfaChallenge: <UserType>({ authSessionStore, challengeRoute
43
43
  status?: number | keyof import("elysia").StatusMap;
44
44
  cookie?: Record<string, import("elysia").BaseCookie>;
45
45
  };
46
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
46
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 301 | 302 | 303 | 307 | 308 | 409 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 304 | 402 | 405 | 406 | 407 | 408 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
47
47
  readonly 100: "Continue";
48
48
  readonly 101: "Switching Protocols";
49
49
  readonly 102: "Processing";
@@ -79,7 +79,7 @@ export declare const mfaManagementRoutes: <UserType>({ authSessionStore, getUser
79
79
  status?: number | keyof import("elysia").StatusMap;
80
80
  cookie?: Record<string, import("elysia").BaseCookie>;
81
81
  };
82
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
82
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 301 | 302 | 303 | 307 | 308 | 409 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 304 | 402 | 405 | 406 | 407 | 408 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
83
83
  readonly 100: "Continue";
84
84
  readonly 101: "Switching Protocols";
85
85
  readonly 102: "Processing";
package/dist/mfa/sms.d.ts CHANGED
@@ -116,7 +116,7 @@ export declare const mfaSmsRoutes: <UserType>({ authSessionStore, getUserId, mfa
116
116
  status?: number | keyof import("elysia").StatusMap;
117
117
  cookie?: Record<string, import("elysia").BaseCookie>;
118
118
  };
119
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
119
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 301 | 302 | 303 | 307 | 308 | 409 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 304 | 402 | 405 | 406 | 407 | 408 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
120
120
  readonly 100: "Continue";
121
121
  readonly 101: "Switching Protocols";
122
122
  readonly 102: "Processing";
@@ -66,7 +66,7 @@ export declare const mfaTotpRoutes: <UserType>({ authSessionStore, backupCodeCou
66
66
  status?: number | keyof import("elysia").StatusMap;
67
67
  cookie?: Record<string, import("elysia").BaseCookie>;
68
68
  };
69
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
69
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 301 | 302 | 303 | 307 | 308 | 409 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 304 | 402 | 405 | 406 | 407 | 408 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
70
70
  readonly 100: "Continue";
71
71
  readonly 101: "Switching Protocols";
72
72
  readonly 102: "Processing";