alepha 0.21.2 → 0.22.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 +0 -1
- package/dist/api/audits/index.browser.js.map +1 -1
- package/dist/api/audits/index.d.ts +393 -403
- package/dist/api/audits/index.d.ts.map +1 -1
- package/dist/api/audits/index.js +25 -56
- package/dist/api/audits/index.js.map +1 -1
- package/dist/api/files/index.browser.js +31 -1
- package/dist/api/files/index.browser.js.map +1 -1
- package/dist/api/files/index.d.ts +313 -208
- package/dist/api/files/index.d.ts.map +1 -1
- package/dist/api/files/index.js +152 -42
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/jobs/index.browser.js +2 -2
- package/dist/api/jobs/index.browser.js.map +1 -1
- package/dist/api/jobs/index.d.ts +289 -292
- package/dist/api/jobs/index.d.ts.map +1 -1
- package/dist/api/jobs/index.js +39 -33
- package/dist/api/jobs/index.js.map +1 -1
- package/dist/api/keys/index.d.ts +211 -216
- package/dist/api/keys/index.d.ts.map +1 -1
- package/dist/api/keys/index.js.map +1 -1
- package/dist/api/notifications/index.browser.js.map +1 -1
- package/dist/api/notifications/index.d.ts +188 -195
- package/dist/api/notifications/index.d.ts.map +1 -1
- package/dist/api/notifications/index.js.map +1 -1
- package/dist/api/oauth/index.d.ts +71 -76
- package/dist/api/oauth/index.d.ts.map +1 -1
- package/dist/api/oauth/index.js.map +1 -1
- package/dist/api/organizations/index.browser.js.map +1 -1
- package/dist/api/organizations/index.d.ts +104 -109
- package/dist/api/organizations/index.d.ts.map +1 -1
- package/dist/api/organizations/index.js.map +1 -1
- package/dist/api/parameters/index.browser.js +43 -16
- package/dist/api/parameters/index.browser.js.map +1 -1
- package/dist/api/parameters/index.d.ts +488 -344
- package/dist/api/parameters/index.d.ts.map +1 -1
- package/dist/api/parameters/index.js +175 -35
- package/dist/api/parameters/index.js.map +1 -1
- package/dist/api/payments/index.d.ts +396 -402
- package/dist/api/payments/index.d.ts.map +1 -1
- package/dist/api/payments/index.js.map +1 -1
- package/dist/api/subscriptions/index.d.ts +644 -652
- package/dist/api/subscriptions/index.d.ts.map +1 -1
- package/dist/api/subscriptions/index.js +1 -1
- package/dist/api/subscriptions/index.js.map +1 -1
- package/dist/api/users/index.browser.js +7 -0
- package/dist/api/users/index.browser.js.map +1 -1
- package/dist/api/users/index.d.ts +1073 -1006
- package/dist/api/users/index.d.ts.map +1 -1
- package/dist/api/users/index.js +283 -61
- package/dist/api/users/index.js.map +1 -1
- package/dist/api/verifications/index.browser.js.map +1 -1
- package/dist/api/verifications/index.d.ts +134 -140
- package/dist/api/verifications/index.d.ts.map +1 -1
- package/dist/api/verifications/index.js.map +1 -1
- package/dist/background/index.d.ts +95 -0
- package/dist/background/index.d.ts.map +1 -0
- package/dist/background/index.js +121 -0
- package/dist/background/index.js.map +1 -0
- package/dist/background/index.workerd.js +110 -0
- package/dist/background/index.workerd.js.map +1 -0
- package/dist/batch/index.d.ts +5 -7
- package/dist/batch/index.d.ts.map +1 -1
- package/dist/batch/index.js.map +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/bucket/index.d.ts +76 -54
- package/dist/bucket/index.d.ts.map +1 -1
- package/dist/bucket/index.js +58 -11
- package/dist/bucket/index.js.map +1 -1
- package/dist/bucket/index.workerd.js +200 -5
- package/dist/bucket/index.workerd.js.map +1 -1
- package/dist/cache/core/index.d.ts +7 -10
- package/dist/cache/core/index.d.ts.map +1 -1
- package/dist/cache/core/index.js.map +1 -1
- package/dist/cache/core/index.workerd.js.map +1 -1
- package/dist/cache/database/index.d.ts +22 -26
- package/dist/cache/database/index.d.ts.map +1 -1
- package/dist/cache/database/index.js.map +1 -1
- package/dist/cache/redis/index.d.ts +4 -7
- package/dist/cache/redis/index.d.ts.map +1 -1
- package/dist/cache/redis/index.js.map +1 -1
- package/dist/captcha/index.d.ts +3 -6
- package/dist/captcha/index.d.ts.map +1 -1
- package/dist/captcha/index.js.map +1 -1
- package/dist/cli/config/index.d.ts.map +1 -1
- package/dist/cli/config/index.js.map +1 -1
- package/dist/cli/core/index.d.ts +417 -214
- package/dist/cli/core/index.d.ts.map +1 -1
- package/dist/cli/core/index.js +325 -563
- package/dist/cli/core/index.js.map +1 -1
- package/dist/cli/devtools/index.d.ts +3 -5
- package/dist/cli/devtools/index.d.ts.map +1 -1
- package/dist/cli/devtools/index.js.map +1 -1
- package/dist/cli/i18n/index.d.ts +8 -12
- package/dist/cli/i18n/index.d.ts.map +1 -1
- package/dist/cli/i18n/index.js.map +1 -1
- package/dist/cli/platform/index.d.ts +126 -1342
- package/dist/cli/platform/index.d.ts.map +1 -1
- package/dist/cli/platform/index.js +136 -2374
- package/dist/cli/platform/index.js.map +1 -1
- package/dist/cli/platform-lib/index.d.ts +1446 -0
- package/dist/cli/platform-lib/index.d.ts.map +1 -0
- package/dist/cli/platform-lib/index.js +2597 -0
- package/dist/cli/platform-lib/index.js.map +1 -0
- package/dist/cli/vendor/index.d.ts +17 -21
- package/dist/cli/vendor/index.d.ts.map +1 -1
- package/dist/cli/vendor/index.js.map +1 -1
- package/dist/command/index.d.ts +21 -20
- package/dist/command/index.d.ts.map +1 -1
- package/dist/command/index.js +39 -10
- package/dist/command/index.js.map +1 -1
- package/dist/{containers → container}/core/index.d.ts +13 -15
- package/dist/container/core/index.d.ts.map +1 -0
- package/dist/{containers → container}/core/index.js +23 -14
- package/dist/container/core/index.js.map +1 -0
- package/dist/{containers → container}/core/index.workerd.js +37 -22
- package/dist/container/core/index.workerd.js.map +1 -0
- package/dist/core/index.browser.js +27 -1
- package/dist/core/index.browser.js.map +1 -1
- package/dist/core/index.d.ts +48 -24
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +27 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.native.js +27 -1
- package/dist/core/index.native.js.map +1 -1
- package/dist/core/index.workerd.js +27 -1
- package/dist/core/index.workerd.js.map +1 -1
- package/dist/crypto/index.browser.js.map +1 -1
- package/dist/crypto/index.d.ts +5 -8
- package/dist/crypto/index.d.ts.map +1 -1
- package/dist/crypto/index.js.map +1 -1
- package/dist/datetime/index.d.ts +3 -4
- package/dist/datetime/index.d.ts.map +1 -1
- package/dist/datetime/index.js.map +1 -1
- package/dist/email/brevo/index.d.ts +2 -4
- package/dist/email/brevo/index.d.ts.map +1 -1
- package/dist/email/brevo/index.js.map +1 -1
- package/dist/email/cloudflare/index.d.ts +20 -7
- package/dist/email/cloudflare/index.d.ts.map +1 -1
- package/dist/email/cloudflare/index.js +46 -9
- package/dist/email/cloudflare/index.js.map +1 -1
- package/dist/email/core/index.d.ts +6 -9
- package/dist/email/core/index.d.ts.map +1 -1
- package/dist/email/core/index.js.map +1 -1
- package/dist/email/core/index.workerd.js.map +1 -1
- package/dist/email/smtp/index.d.ts +10 -13
- package/dist/email/smtp/index.d.ts.map +1 -1
- package/dist/email/smtp/index.js +107 -32
- package/dist/email/smtp/index.js.map +1 -1
- package/dist/fake/index.d.ts +1 -2
- package/dist/fake/index.d.ts.map +1 -1
- package/dist/fake/index.js.map +1 -1
- package/dist/lock/core/index.d.ts +9 -14
- package/dist/lock/core/index.d.ts.map +1 -1
- package/dist/lock/core/index.js.map +1 -1
- package/dist/lock/redis/index.d.ts +2 -4
- package/dist/lock/redis/index.d.ts.map +1 -1
- package/dist/lock/redis/index.js.map +1 -1
- package/dist/logger/index.d.ts +105 -76
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/logger/index.js +196 -174
- package/dist/logger/index.js.map +1 -1
- package/dist/mcp/index.d.ts +16 -20
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/orm/core/index.browser.js.map +1 -1
- package/dist/orm/core/index.bun.js +19 -1
- package/dist/orm/core/index.bun.js.map +1 -1
- package/dist/orm/core/index.d.ts +76 -62
- package/dist/orm/core/index.d.ts.map +1 -1
- package/dist/orm/core/index.js +20 -2
- package/dist/orm/core/index.js.map +1 -1
- package/dist/orm/postgres/index.bun.js.map +1 -1
- package/dist/orm/postgres/index.d.ts +28 -20
- package/dist/orm/postgres/index.d.ts.map +1 -1
- package/dist/orm/postgres/index.js.map +1 -1
- package/dist/queue/core/index.d.ts +12 -15
- package/dist/queue/core/index.d.ts.map +1 -1
- package/dist/queue/core/index.js.map +1 -1
- package/dist/queue/core/index.workerd.js.map +1 -1
- package/dist/queue/redis/index.d.ts +3 -5
- package/dist/queue/redis/index.d.ts.map +1 -1
- package/dist/queue/redis/index.js.map +1 -1
- package/dist/react/auth/index.browser.js +9 -2
- package/dist/react/auth/index.browser.js.map +1 -1
- package/dist/react/auth/index.d.ts +14 -9
- package/dist/react/auth/index.d.ts.map +1 -1
- package/dist/react/auth/index.js +9 -2
- package/dist/react/auth/index.js.map +1 -1
- package/dist/react/core/index.d.ts +7 -8
- package/dist/react/core/index.d.ts.map +1 -1
- package/dist/react/core/index.js +6 -3
- package/dist/react/core/index.js.map +1 -1
- package/dist/react/form/index.d.ts +2 -4
- package/dist/react/form/index.d.ts.map +1 -1
- package/dist/react/form/index.js.map +1 -1
- package/dist/react/head/index.browser.js.map +1 -1
- package/dist/react/head/index.d.ts +2 -4
- package/dist/react/head/index.d.ts.map +1 -1
- package/dist/react/head/index.js.map +1 -1
- package/dist/react/i18n/index.d.ts +47 -11
- package/dist/react/i18n/index.d.ts.map +1 -1
- package/dist/react/i18n/index.js +33 -1
- package/dist/react/i18n/index.js.map +1 -1
- package/dist/react/intro/index.d.ts +1 -2
- package/dist/react/intro/index.d.ts.map +1 -1
- package/dist/react/intro/index.js +2 -2
- package/dist/react/intro/index.js.map +1 -1
- package/dist/react/router/index.browser.js +65 -19
- package/dist/react/router/index.browser.js.map +1 -1
- package/dist/react/router/index.d.ts +327 -222
- package/dist/react/router/index.d.ts.map +1 -1
- package/dist/react/router/index.js +65 -29
- package/dist/react/router/index.js.map +1 -1
- package/dist/react/testing/index.d.ts +1 -2
- package/dist/react/testing/index.d.ts.map +1 -1
- package/dist/react/testing/index.js +16 -17
- package/dist/react/testing/index.js.map +1 -1
- package/dist/react/ui/index.d.ts +20 -25
- package/dist/react/ui/index.d.ts.map +1 -1
- package/dist/react/ui/index.js.map +1 -1
- package/dist/redis/index.bun.js.map +1 -1
- package/dist/redis/index.d.ts +17 -19
- package/dist/redis/index.d.ts.map +1 -1
- package/dist/redis/index.js.map +1 -1
- package/dist/retry/index.d.ts +2 -4
- package/dist/retry/index.d.ts.map +1 -1
- package/dist/retry/index.js.map +1 -1
- package/dist/router/index.d.ts.map +1 -1
- package/dist/router/index.js.map +1 -1
- package/dist/scheduler/index.d.ts +10 -13
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js.map +1 -1
- package/dist/scheduler/index.workerd.js.map +1 -1
- package/dist/security/index.browser.js.map +1 -1
- package/dist/security/index.d.ts +45 -48
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/index.js.map +1 -1
- package/dist/server/auth/index.browser.js.map +1 -1
- package/dist/server/auth/index.d.ts +167 -172
- package/dist/server/auth/index.d.ts.map +1 -1
- package/dist/server/auth/index.js +4 -8
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/cookies/index.browser.js.map +1 -1
- package/dist/server/cookies/index.d.ts +5 -7
- package/dist/server/cookies/index.d.ts.map +1 -1
- package/dist/server/cookies/index.js.map +1 -1
- package/dist/server/core/index.browser.js.map +1 -1
- package/dist/server/core/index.d.ts +88 -73
- package/dist/server/core/index.d.ts.map +1 -1
- package/dist/server/core/index.js +19 -0
- package/dist/server/core/index.js.map +1 -1
- package/dist/server/cors/index.d.ts +11 -14
- package/dist/server/cors/index.d.ts.map +1 -1
- package/dist/server/cors/index.js.map +1 -1
- package/dist/server/etag/index.d.ts +6 -9
- package/dist/server/etag/index.d.ts.map +1 -1
- package/dist/server/etag/index.js.map +1 -1
- package/dist/server/health/index.d.ts +18 -21
- package/dist/server/health/index.d.ts.map +1 -1
- package/dist/server/health/index.js.map +1 -1
- package/dist/server/links/index.browser.js +2 -0
- package/dist/server/links/index.browser.js.map +1 -1
- package/dist/server/links/index.d.ts +63 -67
- package/dist/server/links/index.d.ts.map +1 -1
- package/dist/server/links/index.js +2 -0
- package/dist/server/links/index.js.map +1 -1
- package/dist/server/metrics/index.d.ts +5 -7
- package/dist/server/metrics/index.d.ts.map +1 -1
- package/dist/server/metrics/index.js.map +1 -1
- package/dist/server/proxy/index.d.ts +3 -5
- package/dist/server/proxy/index.d.ts.map +1 -1
- package/dist/server/proxy/index.js.map +1 -1
- package/dist/server/rate-limit/index.d.ts +10 -13
- package/dist/server/rate-limit/index.d.ts.map +1 -1
- package/dist/server/rate-limit/index.js.map +1 -1
- package/dist/server/static/index.d.ts +3 -5
- package/dist/server/static/index.d.ts.map +1 -1
- package/dist/server/static/index.js.map +1 -1
- package/dist/server/swagger/index.d.ts +5 -8
- package/dist/server/swagger/index.d.ts.map +1 -1
- package/dist/server/swagger/index.js.map +1 -1
- package/dist/sms/index.d.ts +3 -5
- package/dist/sms/index.d.ts.map +1 -1
- package/dist/sms/index.js.map +1 -1
- package/dist/system/index.browser.js.map +1 -1
- package/dist/system/index.d.ts +2 -4
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.workerd.js.map +1 -1
- package/dist/topic/core/index.d.ts +4 -6
- package/dist/topic/core/index.d.ts.map +1 -1
- package/dist/topic/core/index.js.map +1 -1
- package/dist/topic/redis/index.d.ts +5 -8
- package/dist/topic/redis/index.d.ts.map +1 -1
- package/dist/topic/redis/index.js.map +1 -1
- package/package.json +45 -22
- package/src/api/audits/__tests__/AuditService.spec.ts +18 -110
- package/src/api/audits/controllers/AdminAuditController.ts +14 -0
- package/src/api/audits/services/AuditService.ts +21 -88
- package/src/api/files/__tests__/FileService.spec.ts +207 -2
- package/src/api/files/index.ts +3 -0
- package/src/api/files/schemas/fileCreatorSummarySchema.ts +22 -0
- package/src/api/files/schemas/fileResourceSchema.ts +10 -1
- package/src/api/files/services/FileService.ts +170 -72
- package/src/api/jobs/__tests__/$job.spec.ts +24 -1
- package/src/api/jobs/index.ts +4 -3
- package/src/api/jobs/primitives/$job.ts +7 -3
- package/src/api/jobs/providers/DirectJobDispatcher.ts +17 -36
- package/src/api/jobs/providers/JobProvider.ts +53 -24
- package/src/api/jobs/schemas/jobConfigAtom.ts +1 -1
- package/src/api/jobs/schemas/jobExecutionResourceSchema.ts +4 -1
- package/src/api/keys/schemas/adminApiKeyResourceSchema.ts +3 -1
- package/src/api/parameters/__tests__/$parameter.spec.ts +19 -2
- package/src/api/parameters/audits/ParameterAudits.ts +17 -0
- package/src/api/parameters/controllers/AdminParameterController.ts +95 -19
- package/src/api/parameters/index.ts +3 -0
- package/src/api/parameters/schemas/activateParameterBodySchema.ts +3 -3
- package/src/api/parameters/schemas/createParameterVersionBodySchema.ts +3 -2
- package/src/api/parameters/schemas/parameterCreatorSummarySchema.ts +25 -0
- package/src/api/parameters/schemas/parameterResponseSchema.ts +5 -0
- package/src/api/parameters/schemas/rollbackParameterBodySchema.ts +4 -2
- package/src/api/parameters/services/ParameterProvider.ts +69 -6
- package/src/api/subscriptions/jobs/SubscriptionJobs.ts +1 -1
- package/src/api/users/__tests__/AdminSessionController.spec.ts +37 -0
- package/src/api/users/audits/SessionAudits.ts +33 -0
- package/src/api/users/audits/UserAudits.ts +19 -43
- package/src/api/users/controllers/AdminUserController.ts +66 -1
- package/src/api/users/entities/sessions.ts +6 -0
- package/src/api/users/entities/users.ts +2 -0
- package/src/api/users/index.ts +9 -1
- package/src/api/users/primitives/$realm.ts +3 -0
- package/src/api/users/schemas/sessionResourceSchema.ts +16 -0
- package/src/api/users/schemas/updateUserSchema.ts +1 -8
- package/src/api/users/schemas/userQuerySchema.ts +7 -0
- package/src/api/users/services/CredentialService.ts +15 -6
- package/src/api/users/services/IdentityService.ts +2 -1
- package/src/api/users/services/RegistrationService.ts +2 -1
- package/src/api/users/services/SessionCrudService.ts +19 -2
- package/src/api/users/services/SessionService.ts +39 -19
- package/src/api/users/services/UserService.ts +106 -8
- package/src/background/__tests__/BackgroundTaskProvider.spec.ts +96 -0
- package/src/background/index.ts +37 -0
- package/src/background/index.workerd.ts +28 -0
- package/src/background/providers/BackgroundTaskProvider.ts +70 -0
- package/src/background/providers/WorkerdBackgroundTaskProvider.ts +43 -0
- package/src/bucket/__tests__/$bucket.spec.ts +18 -0
- package/src/bucket/__tests__/LocalFileStorageProvider.spec.ts +5 -0
- package/src/bucket/__tests__/MemoryFileStorageProvider.spec.ts +5 -0
- package/src/bucket/__tests__/NodeS3BucketProvider.spec.ts +23 -4
- package/src/bucket/__tests__/shared.ts +30 -0
- package/src/bucket/index.ts +5 -5
- package/src/bucket/index.workerd.ts +11 -4
- package/src/bucket/primitives/$bucket.ts +27 -0
- package/src/bucket/providers/FileStorageProvider.ts +13 -0
- package/src/bucket/providers/LocalFileStorageProvider.ts +17 -1
- package/src/bucket/providers/MemoryFileStorageProvider.ts +7 -0
- package/src/bucket/providers/{CloudflareR2Provider.ts → R2FileStorageProvider.ts} +10 -1
- package/src/bucket/providers/{NodeS3BucketProvider.ts → S3FileStorageProvider.ts} +27 -5
- package/src/cli/core/__tests__/BuildDockerTask.spec.ts +25 -1
- package/src/cli/core/__tests__/init.spec.ts +0 -219
- package/src/cli/core/commands/__tests__/BuildCommand.spec.ts +43 -0
- package/src/cli/core/commands/build.ts +108 -30
- package/src/cli/core/commands/init.ts +0 -12
- package/src/cli/core/commands/pack.ts +133 -0
- package/src/cli/core/index.ts +3 -0
- package/src/cli/core/providers/ViteDevServerProvider.ts +40 -16
- package/src/cli/core/services/PackageManagerUtils.ts +0 -16
- package/src/cli/core/services/ProjectScaffolder.ts +29 -291
- package/src/cli/core/tasks/BuildCloudflareTask.ts +353 -47
- package/src/cli/core/tasks/BuildDockerTask.ts +33 -3
- package/src/cli/core/tasks/BuildTask.ts +34 -0
- package/src/cli/core/templates/apiIndexTs.ts +1 -22
- package/src/cli/core/templates/mainCss.ts +0 -1
- package/src/cli/core/templates/webAppRouterTs.ts +0 -99
- package/src/cli/core/templates/webIndexTs.ts +1 -22
- package/src/cli/platform/__tests__/SecretsCommand.spec.ts +5 -3
- package/src/cli/platform/commands/SecretsCommand.ts +8 -6
- package/src/cli/platform/commands/platform.ts +192 -46
- package/src/cli/platform/index.ts +12 -52
- package/src/cli/{platform → platform-lib}/__tests__/CloudflareAdapter.spec.ts +426 -169
- package/src/cli/{platform → platform-lib}/__tests__/NamingService.spec.ts +91 -4
- package/src/cli/{platform → platform-lib}/__tests__/VercelAdapter.spec.ts +56 -85
- package/src/cli/{platform → platform-lib}/adapters/CloudflareAdapter.ts +402 -165
- package/src/cli/{platform → platform-lib}/adapters/PlatformAdapter.ts +62 -35
- package/src/cli/{platform → platform-lib}/adapters/VercelAdapter.ts +6 -10
- package/src/cli/{platform → platform-lib}/atoms/platformOptions.ts +34 -1
- package/src/cli/platform-lib/index.ts +67 -0
- package/src/cli/platform-lib/services/NamingService.ts +136 -0
- package/src/cli/{platform → platform-lib}/services/PlatformInspector.ts +60 -13
- package/src/cli/{platform → platform-lib}/services/PlatformOrchestrator.ts +54 -43
- package/src/cli/{platform → platform-lib}/services/WranglerApi.ts +4 -2
- package/src/command/__tests__/Runner.spec.ts +20 -0
- package/src/command/helpers/EnvUtils.ts +19 -3
- package/src/command/helpers/Runner.ts +12 -2
- package/src/command/providers/CliProvider.ts +34 -1
- package/src/{containers → container}/core/__tests__/$container.spec.ts +5 -5
- package/src/{containers → container}/core/index.ts +4 -4
- package/src/{containers → container}/core/index.workerd.ts +19 -3
- package/src/{containers → container}/core/primitives/$container.ts +1 -1
- package/src/{containers → container}/core/providers/CloudflareContainerProvider.ts +17 -19
- package/src/{containers → container}/core/providers/ContainerProvider.ts +16 -2
- package/src/{containers → container}/core/providers/MockContainerProvider.ts +1 -1
- package/src/core/Alepha.ts +49 -1
- package/src/core/__tests__/$env.spec.ts +42 -0
- package/src/core/__tests__/dump.spec.ts +47 -0
- package/src/email/cloudflare/__tests__/CloudflareEmailProvider.spec.ts +42 -10
- package/src/email/cloudflare/index.ts +14 -5
- package/src/email/cloudflare/providers/CloudflareEmailProvider.ts +54 -9
- package/src/logger/__tests__/Logger.spec.ts +55 -0
- package/src/logger/index.ts +13 -0
- package/src/logger/services/Logger.ts +31 -1
- package/src/orm/__tests__/orm-showcase-tests.ts +27 -0
- package/src/orm/__tests__/orm-showcase.spec.ts +12 -0
- package/src/orm/core/interfaces/PgQuery.ts +4 -1
- package/src/orm/core/services/Repository.ts +27 -11
- package/src/react/auth/hooks/useAuth.ts +10 -5
- package/src/react/core/__tests__/useQuery.browser.spec.tsx +25 -0
- package/src/react/core/hooks/useAction.ts +14 -3
- package/src/react/core/hooks/useQuery.ts +24 -4
- package/src/react/i18n/components/Translate.tsx +47 -0
- package/src/react/i18n/index.ts +2 -0
- package/src/react/intro/components/GettingStartedAdminSlide.tsx +2 -2
- package/src/react/router/__tests__/$page.spec.tsx +3 -2
- package/src/react/router/__tests__/page-can.spec.ts +18 -13
- package/src/react/router/hooks/useQueryParams.ts +114 -14
- package/src/react/router/primitives/$page.ts +85 -4
- package/src/react/router/providers/ReactBrowserRouterProvider.ts +3 -7
- package/src/react/router/providers/ReactServerProvider.ts +4 -13
- package/src/react/ui/services/SchemaControl.ts +3 -4
- package/src/server/core/providers/ServerMultipartProvider.ts +19 -0
- package/src/server/links/providers/LinkProvider.ts +10 -0
- package/dist/containers/core/index.d.ts.map +0 -1
- package/dist/containers/core/index.js.map +0 -1
- package/dist/containers/core/index.workerd.js.map +0 -1
- package/src/cli/core/templates/componentsJsonTs.ts +0 -39
- package/src/cli/core/templates/saasAdminLayoutTsx.ts +0 -77
- package/src/cli/core/templates/saasAdminPagesTsx.ts +0 -26
- package/src/cli/core/templates/saasAuthLayoutTsx.ts +0 -22
- package/src/cli/core/templates/saasAuthPagesTsx.ts +0 -62
- package/src/cli/core/templates/saasRealmProviderTs.ts +0 -52
- package/src/cli/platform/services/NamingService.ts +0 -54
- /package/dist/orm/core/{chunk-o8xxKEmq.js → chunk-B4FMCO8f.js} +0 -0
- /package/dist/react/testing/{chunk-6Ep1yQYe.js → chunk-BpyX8vjI.js} +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/GitHubSecretStore.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/PlatformCacheProvider.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/PlatformInspector.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/PlatformOrchestrator.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/SecretFilterService.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/__tests__/detectResources.spec.ts +0 -0
- /package/src/cli/{platform → platform-lib}/providers/GitHubSecretStore.ts +0 -0
- /package/src/cli/{platform → platform-lib}/providers/MemorySecretStore.ts +0 -0
- /package/src/cli/{platform → platform-lib}/providers/PlatformCacheProvider.ts +0 -0
- /package/src/cli/{platform → platform-lib}/providers/SecretStoreProvider.ts +0 -0
- /package/src/cli/{platform → platform-lib}/schemas/cloudflare.ts +0 -0
- /package/src/cli/{platform → platform-lib}/schemas/platform.ts +0 -0
- /package/src/cli/{platform → platform-lib}/schemas/vercel.ts +0 -0
- /package/src/cli/{platform → platform-lib}/services/CloudflareApi.ts +0 -0
- /package/src/cli/{platform → platform-lib}/services/SecretFilterService.ts +0 -0
- /package/src/cli/{platform → platform-lib}/services/VercelApi.ts +0 -0
- /package/src/cli/{platform → platform-lib}/services/VercelCli.ts +0 -0
- /package/src/{containers → container}/core/interfaces/ContainerOptions.ts +0 -0
- /package/src/{containers → container}/core/providers/NodeContainerProvider.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.js","names":[],"sources":["../../../src/server/auth/constants/routes.ts","../../../src/server/auth/schemas/authenticationProviderSchema.ts","../../../src/server/auth/schemas/tokensSchema.ts","../../../src/server/auth/schemas/tokenResponseSchema.ts","../../../src/server/auth/schemas/userinfoResponseSchema.ts","../../../src/server/auth/index.browser.ts"],"sourcesContent":["export const alephaServerAuthRoutes = {\n login: \"/oauth/login\",\n callback: \"/oauth/callback\",\n logout: \"/oauth/logout\",\n token: \"/_auth/token\",\n refresh: \"/_auth/refresh\",\n userinfo: \"/_auth/userinfo\",\n};\n","import { type Static, t } from \"alepha\";\n\nexport const authenticationProviderSchema = t.object(\n {\n name: t.text({\n description: \"Name of the authentication provider.\",\n }),\n type: t.enum([\"OAUTH2\", \"OIDC\", \"CREDENTIALS\"], {\n description: \"Type of the authentication provider.\",\n }),\n },\n {\n title: \"AuthenticationProvider\",\n },\n);\n\nexport type AuthenticationProvider = Static<\n typeof authenticationProviderSchema\n>;\n","import type { Static } from \"alepha\";\nimport { t } from \"alepha\";\n\nexport const tokensSchema = t.object({\n provider: t.text(),\n access_token: t.text({ size: \"rich\" }),\n issued_at: t.number(),\n expires_in: t.optional(t.number()),\n refresh_token: t.optional(t.text({ size: \"rich\" })),\n refresh_token_expires_in: t.optional(t.number()),\n refresh_expires_in: t.optional(\n t.number({\n description:\n \"Alias of `refresh_token_expires_in` for compatibility with some providers.\",\n }),\n ),\n id_token: t.optional(t.text({ size: \"rich\" })),\n scope: t.optional(t.text()),\n});\n\nexport type Tokens = Static<typeof tokensSchema>;\n","import { type Static, t } from \"alepha\";\nimport { userAccountInfoSchema } from \"alepha/security\";\nimport { apiRegistryResponseSchema } from \"alepha/server/links\";\nimport { tokensSchema } from \"./tokensSchema.ts\";\n\nexport const tokenResponseSchema = t.extend(tokensSchema, {\n user: userAccountInfoSchema,\n api: apiRegistryResponseSchema,\n});\n\nexport type TokenResponse = Static<typeof tokenResponseSchema>;\n","import { type Static, t } from \"alepha\";\nimport { userAccountInfoSchema } from \"alepha/security\";\nimport { apiRegistryResponseSchema } from \"alepha/server/links\";\n\nexport const userinfoResponseSchema = t.object({\n user: t.optional(userAccountInfoSchema),\n api: apiRegistryResponseSchema,\n});\n\nexport type UserinfoResponse = Static<typeof userinfoResponseSchema>;\n","import { $module } from \"alepha\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport * from \"./index.shared.ts\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport const AlephaServerAuth = $module({\n name: \"alepha.server.auth\",\n primitives: [],\n services: [],\n});\n"],"mappings":";;;;AAAA,MAAa,yBAAyB;CACpC,OAAO;CACP,UAAU;CACV,QAAQ;CACR,OAAO;CACP,SAAS;CACT,UAAU;
|
|
1
|
+
{"version":3,"file":"index.browser.js","names":[],"sources":["../../../src/server/auth/constants/routes.ts","../../../src/server/auth/schemas/authenticationProviderSchema.ts","../../../src/server/auth/schemas/tokensSchema.ts","../../../src/server/auth/schemas/tokenResponseSchema.ts","../../../src/server/auth/schemas/userinfoResponseSchema.ts","../../../src/server/auth/index.browser.ts"],"sourcesContent":["export const alephaServerAuthRoutes = {\n login: \"/oauth/login\",\n callback: \"/oauth/callback\",\n logout: \"/oauth/logout\",\n token: \"/_auth/token\",\n refresh: \"/_auth/refresh\",\n userinfo: \"/_auth/userinfo\",\n};\n","import { type Static, t } from \"alepha\";\n\nexport const authenticationProviderSchema = t.object(\n {\n name: t.text({\n description: \"Name of the authentication provider.\",\n }),\n type: t.enum([\"OAUTH2\", \"OIDC\", \"CREDENTIALS\"], {\n description: \"Type of the authentication provider.\",\n }),\n },\n {\n title: \"AuthenticationProvider\",\n },\n);\n\nexport type AuthenticationProvider = Static<\n typeof authenticationProviderSchema\n>;\n","import type { Static } from \"alepha\";\nimport { t } from \"alepha\";\n\nexport const tokensSchema = t.object({\n provider: t.text(),\n access_token: t.text({ size: \"rich\" }),\n issued_at: t.number(),\n expires_in: t.optional(t.number()),\n refresh_token: t.optional(t.text({ size: \"rich\" })),\n refresh_token_expires_in: t.optional(t.number()),\n refresh_expires_in: t.optional(\n t.number({\n description:\n \"Alias of `refresh_token_expires_in` for compatibility with some providers.\",\n }),\n ),\n id_token: t.optional(t.text({ size: \"rich\" })),\n scope: t.optional(t.text()),\n});\n\nexport type Tokens = Static<typeof tokensSchema>;\n","import { type Static, t } from \"alepha\";\nimport { userAccountInfoSchema } from \"alepha/security\";\nimport { apiRegistryResponseSchema } from \"alepha/server/links\";\nimport { tokensSchema } from \"./tokensSchema.ts\";\n\nexport const tokenResponseSchema = t.extend(tokensSchema, {\n user: userAccountInfoSchema,\n api: apiRegistryResponseSchema,\n});\n\nexport type TokenResponse = Static<typeof tokenResponseSchema>;\n","import { type Static, t } from \"alepha\";\nimport { userAccountInfoSchema } from \"alepha/security\";\nimport { apiRegistryResponseSchema } from \"alepha/server/links\";\n\nexport const userinfoResponseSchema = t.object({\n user: t.optional(userAccountInfoSchema),\n api: apiRegistryResponseSchema,\n});\n\nexport type UserinfoResponse = Static<typeof userinfoResponseSchema>;\n","import { $module } from \"alepha\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport * from \"./index.shared.ts\";\n\n// ---------------------------------------------------------------------------------------------------------------------\n\nexport const AlephaServerAuth = $module({\n name: \"alepha.server.auth\",\n primitives: [],\n services: [],\n});\n"],"mappings":";;;;AAAA,MAAa,yBAAyB;CACpC,OAAO;CACP,UAAU;CACV,QAAQ;CACR,OAAO;CACP,SAAS;CACT,UAAU;AACZ;;;ACLA,MAAa,+BAA+B,EAAE,OAC5C;CACE,MAAM,EAAE,KAAK,EACX,aAAa,uCACf,CAAC;CACD,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;CAAa,GAAG,EAC9C,aAAa,uCACf,CAAC;AACH,GACA,EACE,OAAO,yBACT,CACF;;;ACXA,MAAa,eAAe,EAAE,OAAO;CACnC,UAAU,EAAE,KAAK;CACjB,cAAc,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;CACrC,WAAW,EAAE,OAAO;CACpB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;CACjC,eAAe,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC,CAAC;CAClD,0BAA0B,EAAE,SAAS,EAAE,OAAO,CAAC;CAC/C,oBAAoB,EAAE,SACpB,EAAE,OAAO,EACP,aACE,6EACJ,CAAC,CACH;CACA,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC,CAAC;CAC7C,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;AAC5B,CAAC;;;ACbD,MAAa,sBAAsB,EAAE,OAAO,cAAc;CACxD,MAAM;CACN,KAAK;AACP,CAAC;;;ACJD,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,SAAS,qBAAqB;CACtC,KAAK;AACP,CAAC;;;ACCD,MAAa,mBAAmB,QAAQ;CACtC,MAAM;CACN,YAAY,CAAC;CACb,UAAU,CAAC;AACb,CAAC"}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import * as _$alepha from "alepha";
|
|
2
1
|
import { Alepha, Async, KIND, Primitive, Static } from "alepha";
|
|
3
|
-
import * as _$alepha_server_cookies0 from "alepha/server/cookies";
|
|
4
2
|
import { Cookies, ServerCookiesProvider } from "alepha/server/cookies";
|
|
5
3
|
import { DateTimeProvider } from "alepha/datetime";
|
|
6
4
|
import { AccessTokenResponse, IssuerPrimitive, SecurityProvider, UserAccount } from "alepha/security";
|
|
7
|
-
import * as _$alepha_logger0 from "alepha/logger";
|
|
8
|
-
import * as _$alepha_server0 from "alepha/server";
|
|
9
5
|
import { ServerRawRequest, ServerReply } from "alepha/server";
|
|
10
6
|
import { ServerLinksProvider } from "alepha/server/links";
|
|
11
|
-
import * as _$typebox from "typebox";
|
|
12
7
|
|
|
13
8
|
//#region ../../src/server/auth/constants/routes.d.ts
|
|
14
9
|
declare const alephaServerAuthRoutes: {
|
|
@@ -21,85 +16,85 @@ declare const alephaServerAuthRoutes: {
|
|
|
21
16
|
};
|
|
22
17
|
//#endregion
|
|
23
18
|
//#region ../../src/server/auth/schemas/authenticationProviderSchema.d.ts
|
|
24
|
-
declare const authenticationProviderSchema:
|
|
25
|
-
name:
|
|
26
|
-
type:
|
|
19
|
+
declare const authenticationProviderSchema: import("typebox").TObject<{
|
|
20
|
+
name: import("typebox").TString;
|
|
21
|
+
type: import("typebox").TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
27
22
|
}>;
|
|
28
23
|
type AuthenticationProvider = Static<typeof authenticationProviderSchema>;
|
|
29
24
|
//#endregion
|
|
30
25
|
//#region ../../src/server/auth/schemas/tokenResponseSchema.d.ts
|
|
31
|
-
declare const tokenResponseSchema:
|
|
32
|
-
provider:
|
|
33
|
-
access_token:
|
|
34
|
-
issued_at:
|
|
35
|
-
expires_in:
|
|
36
|
-
refresh_token:
|
|
37
|
-
refresh_token_expires_in:
|
|
38
|
-
refresh_expires_in:
|
|
39
|
-
id_token:
|
|
40
|
-
scope:
|
|
41
|
-
user:
|
|
42
|
-
id:
|
|
43
|
-
name:
|
|
44
|
-
email:
|
|
45
|
-
username:
|
|
46
|
-
picture:
|
|
47
|
-
sessionId:
|
|
48
|
-
organization:
|
|
49
|
-
roles:
|
|
50
|
-
realm:
|
|
26
|
+
declare const tokenResponseSchema: import("typebox").TObject<{
|
|
27
|
+
provider: import("typebox").TString;
|
|
28
|
+
access_token: import("typebox").TString;
|
|
29
|
+
issued_at: import("typebox").TNumber;
|
|
30
|
+
expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
31
|
+
refresh_token: import("typebox").TOptional<import("typebox").TString>;
|
|
32
|
+
refresh_token_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
33
|
+
refresh_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
34
|
+
id_token: import("typebox").TOptional<import("typebox").TString>;
|
|
35
|
+
scope: import("typebox").TOptional<import("typebox").TString>;
|
|
36
|
+
user: import("typebox").TObject<{
|
|
37
|
+
id: import("typebox").TString;
|
|
38
|
+
name: import("typebox").TOptional<import("typebox").TString>;
|
|
39
|
+
email: import("typebox").TOptional<import("typebox").TString>;
|
|
40
|
+
username: import("typebox").TOptional<import("typebox").TString>;
|
|
41
|
+
picture: import("typebox").TOptional<import("typebox").TString>;
|
|
42
|
+
sessionId: import("typebox").TOptional<import("typebox").TString>;
|
|
43
|
+
organization: import("typebox").TOptional<import("typebox").TString>;
|
|
44
|
+
roles: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
45
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
51
46
|
}>;
|
|
52
|
-
api:
|
|
53
|
-
prefix:
|
|
54
|
-
actions:
|
|
55
|
-
path:
|
|
56
|
-
method:
|
|
57
|
-
contentType:
|
|
58
|
-
kind:
|
|
59
|
-
service:
|
|
47
|
+
api: import("typebox").TObject<{
|
|
48
|
+
prefix: import("typebox").TOptional<import("typebox").TString>;
|
|
49
|
+
actions: import("typebox").TRecord<"^.*$", import("typebox").TObject<{
|
|
50
|
+
path: import("typebox").TString;
|
|
51
|
+
method: import("typebox").TOptional<import("typebox").TString>;
|
|
52
|
+
contentType: import("typebox").TOptional<import("typebox").TString>;
|
|
53
|
+
kind: import("typebox").TOptional<import("typebox").TString>;
|
|
54
|
+
service: import("typebox").TOptional<import("typebox").TString>;
|
|
60
55
|
}>>;
|
|
61
|
-
permissions:
|
|
56
|
+
permissions: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
62
57
|
}>;
|
|
63
58
|
}>;
|
|
64
59
|
type TokenResponse = Static<typeof tokenResponseSchema>;
|
|
65
60
|
//#endregion
|
|
66
61
|
//#region ../../src/server/auth/schemas/tokensSchema.d.ts
|
|
67
|
-
declare const tokensSchema:
|
|
68
|
-
provider:
|
|
69
|
-
access_token:
|
|
70
|
-
issued_at:
|
|
71
|
-
expires_in:
|
|
72
|
-
refresh_token:
|
|
73
|
-
refresh_token_expires_in:
|
|
74
|
-
refresh_expires_in:
|
|
75
|
-
id_token:
|
|
76
|
-
scope:
|
|
62
|
+
declare const tokensSchema: import("typebox").TObject<{
|
|
63
|
+
provider: import("typebox").TString;
|
|
64
|
+
access_token: import("typebox").TString;
|
|
65
|
+
issued_at: import("typebox").TNumber;
|
|
66
|
+
expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
67
|
+
refresh_token: import("typebox").TOptional<import("typebox").TString>;
|
|
68
|
+
refresh_token_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
69
|
+
refresh_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
70
|
+
id_token: import("typebox").TOptional<import("typebox").TString>;
|
|
71
|
+
scope: import("typebox").TOptional<import("typebox").TString>;
|
|
77
72
|
}>;
|
|
78
73
|
type Tokens = Static<typeof tokensSchema>;
|
|
79
74
|
//#endregion
|
|
80
75
|
//#region ../../src/server/auth/schemas/userinfoResponseSchema.d.ts
|
|
81
|
-
declare const userinfoResponseSchema:
|
|
82
|
-
user:
|
|
83
|
-
id:
|
|
84
|
-
name:
|
|
85
|
-
email:
|
|
86
|
-
username:
|
|
87
|
-
picture:
|
|
88
|
-
sessionId:
|
|
89
|
-
organization:
|
|
90
|
-
roles:
|
|
91
|
-
realm:
|
|
76
|
+
declare const userinfoResponseSchema: import("typebox").TObject<{
|
|
77
|
+
user: import("typebox").TOptional<import("typebox").TObject<{
|
|
78
|
+
id: import("typebox").TString;
|
|
79
|
+
name: import("typebox").TOptional<import("typebox").TString>;
|
|
80
|
+
email: import("typebox").TOptional<import("typebox").TString>;
|
|
81
|
+
username: import("typebox").TOptional<import("typebox").TString>;
|
|
82
|
+
picture: import("typebox").TOptional<import("typebox").TString>;
|
|
83
|
+
sessionId: import("typebox").TOptional<import("typebox").TString>;
|
|
84
|
+
organization: import("typebox").TOptional<import("typebox").TString>;
|
|
85
|
+
roles: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
86
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
92
87
|
}>>;
|
|
93
|
-
api:
|
|
94
|
-
prefix:
|
|
95
|
-
actions:
|
|
96
|
-
path:
|
|
97
|
-
method:
|
|
98
|
-
contentType:
|
|
99
|
-
kind:
|
|
100
|
-
service:
|
|
88
|
+
api: import("typebox").TObject<{
|
|
89
|
+
prefix: import("typebox").TOptional<import("typebox").TString>;
|
|
90
|
+
actions: import("typebox").TRecord<"^.*$", import("typebox").TObject<{
|
|
91
|
+
path: import("typebox").TString;
|
|
92
|
+
method: import("typebox").TOptional<import("typebox").TString>;
|
|
93
|
+
contentType: import("typebox").TOptional<import("typebox").TString>;
|
|
94
|
+
kind: import("typebox").TOptional<import("typebox").TString>;
|
|
95
|
+
service: import("typebox").TOptional<import("typebox").TString>;
|
|
101
96
|
}>>;
|
|
102
|
-
permissions:
|
|
97
|
+
permissions: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
103
98
|
}>;
|
|
104
99
|
}>;
|
|
105
100
|
type UserinfoResponse = Static<typeof userinfoResponseSchema>;
|
|
@@ -1160,7 +1155,7 @@ declare class Configuration implements ConfigurationMethods, ConfigurationProper
|
|
|
1160
1155
|
//#endregion
|
|
1161
1156
|
//#region ../../src/server/auth/providers/ServerAuthProvider.d.ts
|
|
1162
1157
|
declare class ServerAuthProvider {
|
|
1163
|
-
protected readonly log:
|
|
1158
|
+
protected readonly log: import("alepha/logger").Logger;
|
|
1164
1159
|
protected readonly alepha: Alepha;
|
|
1165
1160
|
protected readonly serverCookiesProvider: ServerCookiesProvider;
|
|
1166
1161
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
@@ -1175,137 +1170,137 @@ declare class ServerAuthProvider {
|
|
|
1175
1170
|
*/
|
|
1176
1171
|
protected validateRedirectUri(uri: string): string;
|
|
1177
1172
|
get identities(): Array<AuthPrimitive>;
|
|
1178
|
-
protected readonly authorizationCode:
|
|
1179
|
-
provider:
|
|
1180
|
-
realm:
|
|
1181
|
-
codeVerifier:
|
|
1182
|
-
redirectUri:
|
|
1183
|
-
loginUri:
|
|
1184
|
-
state:
|
|
1185
|
-
nonce:
|
|
1173
|
+
protected readonly authorizationCode: import("alepha/server/cookies").AbstractCookiePrimitive<import("typebox").TObject<{
|
|
1174
|
+
provider: import("typebox").TString;
|
|
1175
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
1176
|
+
codeVerifier: import("typebox").TOptional<import("typebox").TString>;
|
|
1177
|
+
redirectUri: import("typebox").TOptional<import("typebox").TString>;
|
|
1178
|
+
loginUri: import("typebox").TOptional<import("typebox").TString>;
|
|
1179
|
+
state: import("typebox").TOptional<import("typebox").TString>;
|
|
1180
|
+
nonce: import("typebox").TOptional<import("typebox").TString>;
|
|
1186
1181
|
}>>;
|
|
1187
|
-
readonly tokens:
|
|
1188
|
-
provider:
|
|
1189
|
-
access_token:
|
|
1190
|
-
issued_at:
|
|
1191
|
-
expires_in:
|
|
1192
|
-
refresh_token:
|
|
1193
|
-
refresh_token_expires_in:
|
|
1194
|
-
refresh_expires_in:
|
|
1195
|
-
id_token:
|
|
1196
|
-
scope:
|
|
1182
|
+
readonly tokens: import("alepha/server/cookies").AbstractCookiePrimitive<import("typebox").TObject<{
|
|
1183
|
+
provider: import("typebox").TString;
|
|
1184
|
+
access_token: import("typebox").TString;
|
|
1185
|
+
issued_at: import("typebox").TNumber;
|
|
1186
|
+
expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1187
|
+
refresh_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1188
|
+
refresh_token_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1189
|
+
refresh_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1190
|
+
id_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1191
|
+
scope: import("typebox").TOptional<import("typebox").TString>;
|
|
1197
1192
|
}>>;
|
|
1198
|
-
protected readonly configure:
|
|
1193
|
+
protected readonly configure: import("alepha").HookPrimitive<"configure">;
|
|
1199
1194
|
/**
|
|
1200
1195
|
* Fill request headers with access token from cookies or fallback to provider's fallback function.
|
|
1201
1196
|
*/
|
|
1202
|
-
protected readonly onRequest:
|
|
1197
|
+
protected readonly onRequest: import("alepha").HookPrimitive<"server:onRequest">;
|
|
1203
1198
|
/**
|
|
1204
1199
|
* Get user information.
|
|
1205
1200
|
*/
|
|
1206
|
-
readonly userinfo:
|
|
1207
|
-
response:
|
|
1208
|
-
user:
|
|
1209
|
-
id:
|
|
1210
|
-
name:
|
|
1211
|
-
email:
|
|
1212
|
-
username:
|
|
1213
|
-
picture:
|
|
1214
|
-
sessionId:
|
|
1215
|
-
organization:
|
|
1216
|
-
roles:
|
|
1217
|
-
realm:
|
|
1201
|
+
readonly userinfo: import("alepha/server").RoutePrimitive<{
|
|
1202
|
+
response: import("typebox").TObject<{
|
|
1203
|
+
user: import("typebox").TOptional<import("typebox").TObject<{
|
|
1204
|
+
id: import("typebox").TString;
|
|
1205
|
+
name: import("typebox").TOptional<import("typebox").TString>;
|
|
1206
|
+
email: import("typebox").TOptional<import("typebox").TString>;
|
|
1207
|
+
username: import("typebox").TOptional<import("typebox").TString>;
|
|
1208
|
+
picture: import("typebox").TOptional<import("typebox").TString>;
|
|
1209
|
+
sessionId: import("typebox").TOptional<import("typebox").TString>;
|
|
1210
|
+
organization: import("typebox").TOptional<import("typebox").TString>;
|
|
1211
|
+
roles: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
1212
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
1218
1213
|
}>>;
|
|
1219
|
-
api:
|
|
1220
|
-
prefix:
|
|
1221
|
-
actions:
|
|
1222
|
-
path:
|
|
1223
|
-
method:
|
|
1224
|
-
contentType:
|
|
1225
|
-
kind:
|
|
1226
|
-
service:
|
|
1214
|
+
api: import("typebox").TObject<{
|
|
1215
|
+
prefix: import("typebox").TOptional<import("typebox").TString>;
|
|
1216
|
+
actions: import("typebox").TRecord<"^.*$", import("typebox").TObject<{
|
|
1217
|
+
path: import("typebox").TString;
|
|
1218
|
+
method: import("typebox").TOptional<import("typebox").TString>;
|
|
1219
|
+
contentType: import("typebox").TOptional<import("typebox").TString>;
|
|
1220
|
+
kind: import("typebox").TOptional<import("typebox").TString>;
|
|
1221
|
+
service: import("typebox").TOptional<import("typebox").TString>;
|
|
1227
1222
|
}>>;
|
|
1228
|
-
permissions:
|
|
1223
|
+
permissions: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
1229
1224
|
}>;
|
|
1230
1225
|
}>;
|
|
1231
1226
|
}>;
|
|
1232
1227
|
/**
|
|
1233
1228
|
* Refresh a token for internal providers.
|
|
1234
1229
|
*/
|
|
1235
|
-
readonly refresh:
|
|
1236
|
-
query:
|
|
1237
|
-
provider:
|
|
1230
|
+
readonly refresh: import("alepha/server").RoutePrimitive<{
|
|
1231
|
+
query: import("typebox").TObject<{
|
|
1232
|
+
provider: import("typebox").TString;
|
|
1238
1233
|
}>;
|
|
1239
|
-
body:
|
|
1240
|
-
refresh_token:
|
|
1241
|
-
access_token:
|
|
1234
|
+
body: import("typebox").TObject<{
|
|
1235
|
+
refresh_token: import("typebox").TString;
|
|
1236
|
+
access_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1242
1237
|
}>;
|
|
1243
|
-
response:
|
|
1244
|
-
provider:
|
|
1245
|
-
access_token:
|
|
1246
|
-
issued_at:
|
|
1247
|
-
expires_in:
|
|
1248
|
-
refresh_token:
|
|
1249
|
-
refresh_token_expires_in:
|
|
1250
|
-
refresh_expires_in:
|
|
1251
|
-
id_token:
|
|
1252
|
-
scope:
|
|
1238
|
+
response: import("typebox").TObject<{
|
|
1239
|
+
provider: import("typebox").TString;
|
|
1240
|
+
access_token: import("typebox").TString;
|
|
1241
|
+
issued_at: import("typebox").TNumber;
|
|
1242
|
+
expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1243
|
+
refresh_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1244
|
+
refresh_token_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1245
|
+
refresh_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1246
|
+
id_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1247
|
+
scope: import("typebox").TOptional<import("typebox").TString>;
|
|
1253
1248
|
}>;
|
|
1254
1249
|
}>;
|
|
1255
1250
|
/**
|
|
1256
1251
|
* Login for local password-based authentication.
|
|
1257
1252
|
*/
|
|
1258
|
-
readonly token:
|
|
1259
|
-
query:
|
|
1260
|
-
provider:
|
|
1261
|
-
realm:
|
|
1253
|
+
readonly token: import("alepha/server").RoutePrimitive<{
|
|
1254
|
+
query: import("typebox").TObject<{
|
|
1255
|
+
provider: import("typebox").TString;
|
|
1256
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
1262
1257
|
}>;
|
|
1263
|
-
body:
|
|
1264
|
-
username:
|
|
1265
|
-
password:
|
|
1258
|
+
body: import("typebox").TObject<{
|
|
1259
|
+
username: import("typebox").TString;
|
|
1260
|
+
password: import("typebox").TString;
|
|
1266
1261
|
}>;
|
|
1267
|
-
response:
|
|
1268
|
-
provider:
|
|
1269
|
-
access_token:
|
|
1270
|
-
issued_at:
|
|
1271
|
-
expires_in:
|
|
1272
|
-
refresh_token:
|
|
1273
|
-
refresh_token_expires_in:
|
|
1274
|
-
refresh_expires_in:
|
|
1275
|
-
id_token:
|
|
1276
|
-
scope:
|
|
1277
|
-
user:
|
|
1278
|
-
id:
|
|
1279
|
-
name:
|
|
1280
|
-
email:
|
|
1281
|
-
username:
|
|
1282
|
-
picture:
|
|
1283
|
-
sessionId:
|
|
1284
|
-
organization:
|
|
1285
|
-
roles:
|
|
1286
|
-
realm:
|
|
1262
|
+
response: import("typebox").TObject<{
|
|
1263
|
+
provider: import("typebox").TString;
|
|
1264
|
+
access_token: import("typebox").TString;
|
|
1265
|
+
issued_at: import("typebox").TNumber;
|
|
1266
|
+
expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1267
|
+
refresh_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1268
|
+
refresh_token_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1269
|
+
refresh_expires_in: import("typebox").TOptional<import("typebox").TNumber>;
|
|
1270
|
+
id_token: import("typebox").TOptional<import("typebox").TString>;
|
|
1271
|
+
scope: import("typebox").TOptional<import("typebox").TString>;
|
|
1272
|
+
user: import("typebox").TObject<{
|
|
1273
|
+
id: import("typebox").TString;
|
|
1274
|
+
name: import("typebox").TOptional<import("typebox").TString>;
|
|
1275
|
+
email: import("typebox").TOptional<import("typebox").TString>;
|
|
1276
|
+
username: import("typebox").TOptional<import("typebox").TString>;
|
|
1277
|
+
picture: import("typebox").TOptional<import("typebox").TString>;
|
|
1278
|
+
sessionId: import("typebox").TOptional<import("typebox").TString>;
|
|
1279
|
+
organization: import("typebox").TOptional<import("typebox").TString>;
|
|
1280
|
+
roles: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
1281
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
1287
1282
|
}>;
|
|
1288
|
-
api:
|
|
1289
|
-
prefix:
|
|
1290
|
-
actions:
|
|
1291
|
-
path:
|
|
1292
|
-
method:
|
|
1293
|
-
contentType:
|
|
1294
|
-
kind:
|
|
1295
|
-
service:
|
|
1283
|
+
api: import("typebox").TObject<{
|
|
1284
|
+
prefix: import("typebox").TOptional<import("typebox").TString>;
|
|
1285
|
+
actions: import("typebox").TRecord<"^.*$", import("typebox").TObject<{
|
|
1286
|
+
path: import("typebox").TString;
|
|
1287
|
+
method: import("typebox").TOptional<import("typebox").TString>;
|
|
1288
|
+
contentType: import("typebox").TOptional<import("typebox").TString>;
|
|
1289
|
+
kind: import("typebox").TOptional<import("typebox").TString>;
|
|
1290
|
+
service: import("typebox").TOptional<import("typebox").TString>;
|
|
1296
1291
|
}>>;
|
|
1297
|
-
permissions:
|
|
1292
|
+
permissions: import("typebox").TOptional<import("typebox").TArray<import("typebox").TString>>;
|
|
1298
1293
|
}>;
|
|
1299
1294
|
}>;
|
|
1300
1295
|
}>;
|
|
1301
1296
|
/**
|
|
1302
1297
|
* Oauth2/OIDC login route.
|
|
1303
1298
|
*/
|
|
1304
|
-
readonly login:
|
|
1305
|
-
query:
|
|
1306
|
-
provider:
|
|
1307
|
-
realm:
|
|
1308
|
-
redirect_uri:
|
|
1299
|
+
readonly login: import("alepha/server").RoutePrimitive<{
|
|
1300
|
+
query: import("typebox").TObject<{
|
|
1301
|
+
provider: import("typebox").TString;
|
|
1302
|
+
realm: import("typebox").TOptional<import("typebox").TString>;
|
|
1303
|
+
redirect_uri: import("typebox").TOptional<import("typebox").TString>;
|
|
1309
1304
|
}>;
|
|
1310
1305
|
}>;
|
|
1311
1306
|
/**
|
|
@@ -1325,18 +1320,18 @@ declare class ServerAuthProvider {
|
|
|
1325
1320
|
* Callback for OAuth2/OIDC providers.
|
|
1326
1321
|
* It handles the authorization code flow and retrieves the access token.
|
|
1327
1322
|
*/
|
|
1328
|
-
readonly callback:
|
|
1323
|
+
readonly callback: import("alepha/server").RoutePrimitive<import("alepha/server").RequestConfigSchema>;
|
|
1329
1324
|
/**
|
|
1330
1325
|
* POST callback for OAuth2/OIDC providers using form_post response mode.
|
|
1331
1326
|
* Apple Sign In sends the authorization code via POST body instead of URL query parameters.
|
|
1332
1327
|
*/
|
|
1333
|
-
readonly callbackPost:
|
|
1328
|
+
readonly callbackPost: import("alepha/server").RoutePrimitive<import("alepha/server").RequestConfigSchema>;
|
|
1334
1329
|
/**
|
|
1335
1330
|
* Logout route for OAuth2/OIDC providers.
|
|
1336
1331
|
*/
|
|
1337
|
-
readonly logout:
|
|
1338
|
-
query:
|
|
1339
|
-
post_logout_redirect_uri:
|
|
1332
|
+
readonly logout: import("alepha/server").RoutePrimitive<{
|
|
1333
|
+
query: import("typebox").TObject<{
|
|
1334
|
+
post_logout_redirect_uri: import("typebox").TOptional<import("typebox").TString>;
|
|
1340
1335
|
}>;
|
|
1341
1336
|
}>;
|
|
1342
1337
|
getAuthenticationProviders(filters?: {
|
|
@@ -1791,7 +1786,7 @@ declare const $authMicrosoft: (realm: IssuerPrimitive & WithLinkFn, options?: Pa
|
|
|
1791
1786
|
*
|
|
1792
1787
|
* @module alepha.server.auth
|
|
1793
1788
|
*/
|
|
1794
|
-
declare const AlephaServerAuth:
|
|
1789
|
+
declare const AlephaServerAuth: import("alepha").Service<import("alepha").Module>;
|
|
1795
1790
|
//#endregion
|
|
1796
1791
|
export { $auth, $authApple, $authCredentials, $authFacebook, $authFranceConnect, $authGithub, $authGoogle, $authMicrosoft, AccessToken, AlephaServerAuth, AuthExternal, AuthInternal, AuthPrimitive, AuthPrimitiveOptions, AuthenticationProvider, Credentials, CredentialsFn, CredentialsOptions, LinkAccountFn, LinkAccountOptions, OAuth2Options, OAuth2Profile, OidcOptions, ServerAuthProvider, TokenResponse, Tokens, UserinfoResponse, WithLinkFn, WithLoginFn, alephaServerAuthRoutes, authenticationProviderSchema, tokenResponseSchema, tokensSchema, userinfoResponseSchema };
|
|
1797
1792
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["CryptoKey","crypto","subtle","generateKey","ReturnType","Awaited","Extract","type","CryptoKeyPair","privateKey","publicKey","JsonObject","JsonValue","Key","JsonArray","JsonPrimitive","ModifyAssertionFunction","Record","header","payload","PrivateKey","key","kid","JWSAlgorithm","JWK","kty","alg","use","key_ops","e","n","crv","x","y","pub","parameter","allowInsecureRequests","clockSkew","clockTolerance","customFetch","modifyAssertion","jweDecrypt","jwksCache","AuthorizationServer","MTLSEndpointAliases","issuer","authorization_endpoint","token_endpoint","jwks_uri","registration_endpoint","scopes_supported","response_types_supported","response_modes_supported","grant_types_supported","token_endpoint_auth_methods_supported","token_endpoint_auth_signing_alg_values_supported","service_documentation","ui_locales_supported","op_policy_uri","op_tos_uri","revocation_endpoint","revocation_endpoint_auth_methods_supported","revocation_endpoint_auth_signing_alg_values_supported","introspection_endpoint","introspection_endpoint_auth_methods_supported","introspection_endpoint_auth_signing_alg_values_supported","code_challenge_methods_supported","signed_metadata","device_authorization_endpoint","tls_client_certificate_bound_access_tokens","mtls_endpoint_aliases","userinfo_endpoint","acr_values_supported","subject_types_supported","id_token_signing_alg_values_supported","id_token_encryption_alg_values_supported","id_token_encryption_enc_values_supported","userinfo_signing_alg_values_supported","userinfo_encryption_alg_values_supported","userinfo_encryption_enc_values_supported","request_object_signing_alg_values_supported","request_object_encryption_alg_values_supported","request_object_encryption_enc_values_supported","display_values_supported","claim_types_supported","claims_supported","claims_locales_supported","claims_parameter_supported","request_parameter_supported","request_uri_parameter_supported","require_request_uri_registration","require_signed_request_object","pushed_authorization_request_endpoint","require_pushed_authorization_requests","introspection_signing_alg_values_supported","introspection_encryption_alg_values_supported","introspection_encryption_enc_values_supported","authorization_response_iss_parameter_supported","authorization_signing_alg_values_supported","authorization_encryption_alg_values_supported","authorization_encryption_enc_values_supported","backchannel_authentication_endpoint","backchannel_authentication_request_signing_alg_values_supported","backchannel_token_delivery_modes_supported","backchannel_user_code_parameter_supported","check_session_iframe","dpop_signing_alg_values_supported","end_session_endpoint","frontchannel_logout_session_supported","frontchannel_logout_supported","backchannel_logout_session_supported","backchannel_logout_supported","protected_resources","metadata","Pick","Client","client_id","id_token_signed_response_alg","authorization_signed_response_alg","require_auth_time","userinfo_signed_response_alg","introspection_signed_response_alg","default_max_age","use_mtls_endpoint_aliases","UnsupportedOperationError","Error","code","constructor","message","cause","options","OperationProcessingError","JWKSCacheOptions","JWKSCacheInput","CustomFetchOptions","Method","BodyType","AbortSignal","body","headers","method","redirect","signal","HttpRequestOptions","Headers","Response","Promise","url","DiscoveryRequestOptions","algorithm","discoveryRequest","URL","issuerIdentifier","processDiscoveryResponse","expectedIssuerIdentifier","response","generateRandomCodeVerifier","generateRandomState","generateRandomNonce","calculatePKCECodeChallenge","codeVerifier","DPoPRequestOptions","DPoPHandle","DPoP","PushedAuthorizationRequestOptions","URLSearchParams","ClientAuth","as","client","ClientSecretPost","clientSecret","ClientSecretBasic","ModifyAssertionOptions","PrivateKeyJwt","clientPrivateKey","ClientSecretJwt","None","TlsClientAuth","issueRequestObject","parameters","checkProtocol","enforceHttps","pushedAuthorizationRequest","clientAuthentication","calculateThumbprint","isDPoPNonceError","err","keyPair","PushedAuthorizationResponse","request_uri","expires_in","OAuth2Error","error","error_description","error_uri","algs","scope","ResponseBodyError","RESPONSE_BODY_ERROR","status","AuthorizationResponseError","AUTHORIZATION_RESPONSE_ERROR","WWWAuthenticateChallengeError","WWWAuthenticateChallenge","WWW_AUTHENTICATE_CHALLENGE","WWWAuthenticateChallengeParameters","Lowercase","realm","resource_metadata","scheme","token68","processPushedAuthorizationResponse","ProtectedResourceRequestBody","ArrayBuffer","ReadableStream","Uint8Array","ProtectedResourceRequestOptions","Omit","protectedResourceRequest","accessToken","UserInfoRequestOptions","userInfoRequest","UserInfoAddress","formatted","street_address","locality","region","postal_code","country","claim","UserInfoResponse","sub","name","given_name","family_name","middle_name","nickname","preferred_username","profile","picture","website","email","email_verified","gender","birthdate","zoneinfo","locale","phone_number","updated_at","address","ExportedJWKSCache","JWKS","jwks","uat","skipSubjectCheck","JWEDecryptOptions","JweDecryptFunction","RecognizedTokenTypes","TokenEndpointResponse","res","ProcessTokenResponseOptions","recognizedTokenTypes","processUserInfoResponse","expectedSubject","TokenEndpointRequestOptions","additionalParameters","refreshTokenGrantRequest","refreshToken","getValidatedIdTokenClaims","IDToken","ref","ValidateSignatureOptions","validateApplicationLevelSignature","processRefreshTokenResponse","nopkce","authorizationCodeGrantRequest","callbackParameters","redirectUri","JWTPayload","ConfirmationClaims","iss","aud","jti","nbf","exp","iat","cnf","nonce","auth_time","azp","AuthorizationDetails","locations","actions","datatypes","privileges","identifier","access_token","id_token","refresh_token","authorization_details","token_type","expectNoNonce","skipAuthTimeCheck","ProcessAuthorizationCodeResponseOptions","expectedNonce","maxAge","requireIdToken","processAuthorizationCodeResponse","UNSUPPORTED_OPERATION","JWT_USERINFO_EXPECTED","PARSE_ERROR","INVALID_RESPONSE","INVALID_REQUEST","RESPONSE_IS_NOT_JSON","RESPONSE_IS_NOT_CONFORM","HTTP_REQUEST_FORBIDDEN","REQUEST_PROTOCOL_FORBIDDEN","JWT_TIMESTAMP_CHECK","JWT_CLAIM_COMPARISON","JSON_ATTRIBUTE_COMPARISON","KEY_SELECTION","MISSING_SERVER_METADATA","INVALID_SERVER_METADATA","ClientCredentialsGrantRequestOptions","clientCredentialsGrantRequest","genericTokenEndpointRequest","grantType","processGenericTokenEndpointResponse","processClientCredentialsResponse","RevocationRequestOptions","revocationRequest","token","processRevocationResponse","IntrospectionRequestOptions","requestJwtResponse","introspectionRequest","jkt","IntrospectionResponse","active","sid","username","processIntrospectionResponse","keys","jwe","validateJwtAuthResponse","expectNoState","skipStateCheck","expectedState","validateDetachedSignatureResponse","Request","validateCodeIdTokenResponse","validateAuthResponse","DeviceAuthorizationRequestOptions","deviceAuthorizationRequest","DeviceAuthorizationResponse","device_code","user_code","verification_uri","verification_uri_complete","interval","processDeviceAuthorizationResponse","deviceCodeGrantRequest","deviceCode","processDeviceCodeResponse","GenerateKeyPairOptions","extractable","modulusLength","generateKeyPair","JWTAccessTokenClaims","ValidateJWTAccessTokenOptions","requireDPoP","signingAlgorithms","validateJwtAccessToken","request","expectedAudience","BackchannelAuthenticationRequestOptions","backchannelAuthenticationRequest","BackchannelAuthenticationResponse","auth_req_id","processBackchannelAuthenticationResponse","backchannelAuthenticationGrantRequest","authReqId","processBackchannelAuthenticationGrantResponse","OmitSymbolProperties","T","K","DynamicClientRegistrationRequestOptions","initialAccessToken","dynamicClientRegistrationRequest","Partial","processDynamicClientRegistrationResponse","ResourceServer","resource","authorization_servers","bearer_methods_supported","resource_signing_alg_values_supported","resource_name","resource_documentation","resource_policy_uri","resource_tos_uri","authorization_details_types_supported","dpop_bound_access_tokens_required","resourceDiscoveryRequest","resourceIdentifier","processResourceDiscoveryResponse","expectedResourceIdentifier","oauth","CryptoKey","crypto","subtle","generateKey","ReturnType","Awaited","Extract","type","CryptoKeyPair","privateKey","publicKey","AuthorizationResponseError","ResponseBodyError","WWWAuthenticateChallengeError","AuthorizationDetails","BackchannelAuthenticationResponse","ConfirmationClaims","DeviceAuthorizationResponse","OmitSymbolProperties","ExportedJWKSCache","GenerateKeyPairOptions","IDToken","IntrospectionResponse","JsonArray","JsonObject","JsonPrimitive","JsonValue","JWK","JWKS","JWSAlgorithm","ModifyAssertionFunction","ModifyAssertionOptions","MTLSEndpointAliases","PrivateKey","TokenEndpointResponse","UserInfoAddress","UserInfoResponse","WWWAuthenticateChallenge","WWWAuthenticateChallengeParameters","ClientAuth","ServerMetadata","ClientMetadata","URLSearchParams","Headers","as","client","body","headers","ClientSecretPost","clientSecret","ClientSecretBasic","ClientSecretJwt","options","None","PrivateKeyJwt","clientPrivateKey","TlsClientAuth","skipStateCheck","skipSubjectCheck","customFetch","modifyAssertion","clockSkew","clockTolerance","FetchBody","ArrayBuffer","ReadableStream","Uint8Array","DPoPHandle","Client","client_secret","use_mtls_endpoint_aliases","AuthorizationServer","calculatePKCECodeChallenge","Promise","codeVerifier","randomPKCECodeVerifier","randomNonce","randomState","ClientError","Error","code","randomDPoPKeyPair","alg","DiscoveryRequestOptions","CustomFetch","Configuration","Array","algorithm","execute","config","timeout","DynamicClientRegistrationRequestOptions","DPoPOptions","initialAccessToken","dynamicClientRegistration","URL","Partial","server","metadata","clientAuthentication","discovery","clientId","DecryptionKey","key","kid","enableDecryptingResponses","contentEncryptionAlgorithms","keys","ServerMetadataHelpers","supportsPKCE","method","ConfigurationMethods","Readonly","serverMetadata","clientMetadata","CustomFetchOptions","Record","AbortSignal","redirect","signal","Response","url","ConfigurationProperties","constructor","value","TokenEndpointResponseHelpers","claims","expiresIn","getDPoPHandle","keyPair","DeviceAuthorizationGrantPollOptions","pollDeviceAuthorizationGrant","deviceAuthorizationResponse","parameters","initiateDeviceAuthorization","initiateBackchannelAuthentication","BackchannelAuthenticationGrantPollOptions","pollBackchannelAuthenticationGrant","backchannelAuthenticationResponse","AuthorizationCodeGrantOptions","allowInsecureRequests","setJwksCache","jwksCache","getJwksCache","enableNonRepudiationChecks","useJwtResponseMode","enableDetachedSignatureResponseChecks","ImplicitAuthenticationResponseChecks","AuthorizationCodeGrantChecks","Pick","implicitAuthentication","Request","currentUrl","expectedNonce","checks","useCodeIdTokenResponseType","useIdTokenResponseType","expectedState","idTokenExpected","maxAge","pkceCodeVerifier","authorizationCodeGrant","tokenEndpointParameters","refreshTokenGrant","refreshToken","clientCredentialsGrant","buildAuthorizationUrl","buildAuthorizationUrlWithJAR","signingKey","buildAuthorizationUrlWithPAR","buildEndSessionUrl","fetchUserInfo","accessToken","expectedSubject","tokenIntrospection","token","DPoP","genericGrantRequest","grantType","tokenRevocation","fetchProtectedResource","DeviceAutorizationGrantPollOptions"],"sources":["../../../src/server/auth/constants/routes.ts","../../../src/server/auth/schemas/authenticationProviderSchema.ts","../../../src/server/auth/schemas/tokenResponseSchema.ts","../../../src/server/auth/schemas/tokensSchema.ts","../../../src/server/auth/schemas/userinfoResponseSchema.ts","../../../../../node_modules/oauth4webapi/build/index.d.ts","../../../../../node_modules/openid-client/build/index.d.ts","../../../src/server/auth/providers/ServerAuthProvider.ts","../../../src/server/auth/primitives/$auth.ts","../../../src/server/auth/primitives/$authApple.ts","../../../src/server/auth/primitives/$authCredentials.ts","../../../src/server/auth/primitives/$authFacebook.ts","../../../src/server/auth/primitives/$authFranceConnect.ts","../../../src/server/auth/primitives/$authGithub.ts","../../../src/server/auth/primitives/$authGoogle.ts","../../../src/server/auth/primitives/$authMicrosoft.ts","../../../src/server/auth/index.ts"],"x_google_ignoreList":[5,6],"mappings":";;;;;;;;;;;;;cAAa,sBAAA;;;;;;;;;;cCEA,4BAAA,YAA4B,OAAA;QAYxC,SAAA,CAAA,OAAA;;;KAEW,sBAAA,GAAyB,MAAA,QAC5B,4BAAA;;;cCZI,mBAAA,YAAmB,OAAA;YAG9B,SAAA,CAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,aAAA,GAAgB,MAAA,QAAc,mBAAA;;;cCP7B,YAAA,YAAY,OAAA;YAevB,SAAA,CAAA,OAAA;;;;;;;;;;KAEU,MAAA,GAAS,MAAA,QAAc,YAAA;;;cChBtB,sBAAA,YAAsB,OAAA;;QAGjC,SAA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;;;;;;AR1gBrC;;;;;;;;;;;;;;;ACEA;;;cQsCa,UAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;;;cC5BL,gBAAA,GACX,KAAA,EAAO,eAAA,GAAkB,WAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,kBAAA,MAAD,aAAA;;;;;;;;;;;;;cCIL,aAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;;;;;;;;;AXtBlB;;;;;;;;;;;;;;;ACEA;cWkCa,kBAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;;;;;;;;cClBL,WAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;;;;;;;;cCHL,WAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;;;;;;;;;AdrBlB;;;;;;;;;;;ce+Ba,cAAA,GACX,KAAA,EAAO,eAAA,GAAkB,UAAA,EACzB,OAAA,GAAS,OAAA,CAAQ,WAAA,MAAD,aAAA;;;;;;AfjClB;;;;;;;;;;;;;;cgBqCa,gBAAA,EAAgB,QAAA,CAAA,OAAA,CAI3B,QAAA,CAJ2B,MAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["Extract","Awaited","ReturnType","crypto","subtle","generateKey","type","privateKey","CryptoKey","publicKey","Key","JsonValue","JsonPrimitive","JsonObject","JsonArray","Record","header","payload","key","kid","kty","alg","use","key_ops","e","n","crv","x","y","pub","parameter","issuer","authorization_endpoint","token_endpoint","jwks_uri","registration_endpoint","scopes_supported","response_types_supported","response_modes_supported","grant_types_supported","token_endpoint_auth_methods_supported","token_endpoint_auth_signing_alg_values_supported","service_documentation","ui_locales_supported","op_policy_uri","op_tos_uri","revocation_endpoint","revocation_endpoint_auth_methods_supported","revocation_endpoint_auth_signing_alg_values_supported","introspection_endpoint","introspection_endpoint_auth_methods_supported","introspection_endpoint_auth_signing_alg_values_supported","code_challenge_methods_supported","signed_metadata","device_authorization_endpoint","tls_client_certificate_bound_access_tokens","mtls_endpoint_aliases","MTLSEndpointAliases","userinfo_endpoint","acr_values_supported","subject_types_supported","id_token_signing_alg_values_supported","id_token_encryption_alg_values_supported","id_token_encryption_enc_values_supported","userinfo_signing_alg_values_supported","userinfo_encryption_alg_values_supported","userinfo_encryption_enc_values_supported","request_object_signing_alg_values_supported","request_object_encryption_alg_values_supported","request_object_encryption_enc_values_supported","display_values_supported","claim_types_supported","claims_supported","claims_locales_supported","claims_parameter_supported","request_parameter_supported","request_uri_parameter_supported","require_request_uri_registration","require_signed_request_object","pushed_authorization_request_endpoint","require_pushed_authorization_requests","introspection_signing_alg_values_supported","introspection_encryption_alg_values_supported","introspection_encryption_enc_values_supported","authorization_response_iss_parameter_supported","authorization_signing_alg_values_supported","authorization_encryption_alg_values_supported","authorization_encryption_enc_values_supported","backchannel_authentication_endpoint","backchannel_authentication_request_signing_alg_values_supported","backchannel_token_delivery_modes_supported","backchannel_user_code_parameter_supported","check_session_iframe","dpop_signing_alg_values_supported","end_session_endpoint","frontchannel_logout_session_supported","frontchannel_logout_supported","backchannel_logout_session_supported","backchannel_logout_supported","protected_resources","metadata","Pick","AuthorizationServer","client_id","id_token_signed_response_alg","authorization_signed_response_alg","require_auth_time","userinfo_signed_response_alg","introspection_signed_response_alg","default_max_age","use_mtls_endpoint_aliases","clockSkew","clockTolerance","Error","code","constructor","message","cause","options","jwksCache","JWKSCacheInput","Method","BodyType","body","headers","method","redirect","signal","AbortSignal","url","Headers","customFetch","CustomFetchOptions","Promise","Response","allowInsecureRequests","HttpRequestOptions","algorithm","URL","issuerIdentifier","DiscoveryRequestOptions","expectedIssuerIdentifier","response","codeVerifier","DPoP","DPoPHandle","URLSearchParams","DPoPRequestOptions","as","Client","client","clientSecret","ClientAuth","modifyAssertion","ModifyAssertionFunction","PrivateKey","clientPrivateKey","ModifyAssertionOptions","parameters","enforceHttps","clientAuthentication","PushedAuthorizationRequestOptions","calculateThumbprint","err","CryptoKeyPair","keyPair","request_uri","expires_in","error","error_description","error_uri","algs","scope","RESPONSE_BODY_ERROR","status","OAuth2Error","AUTHORIZATION_RESPONSE_ERROR","WWWAuthenticateChallenge","WWW_AUTHENTICATE_CHALLENGE","realm","resource_metadata","Lowercase","scheme","WWWAuthenticateChallengeParameters","token68","PushedAuthorizationResponse","ArrayBuffer","ReadableStream","Uint8Array","Omit","ProtectedResourceRequestBody","accessToken","ProtectedResourceRequestOptions","UserInfoRequestOptions","formatted","street_address","locality","region","postal_code","country","claim","sub","name","given_name","family_name","middle_name","nickname","preferred_username","profile","picture","website","email","email_verified","gender","birthdate","zoneinfo","locale","phone_number","updated_at","address","UserInfoAddress","jwks","JWKS","uat","ExportedJWKSCache","jweDecrypt","JweDecryptFunction","res","TokenEndpointResponse","JWEDecryptOptions","recognizedTokenTypes","RecognizedTokenTypes","skipSubjectCheck","expectedSubject","UserInfoResponse","additionalParameters","refreshToken","TokenEndpointRequestOptions","ref","IDToken","JWKSCacheOptions","ValidateSignatureOptions","ProcessTokenResponseOptions","callbackParameters","redirectUri","nopkce","iss","aud","jti","nbf","exp","iat","cnf","ConfirmationClaims","JWTPayload","nonce","auth_time","azp","locations","actions","datatypes","privileges","identifier","access_token","id_token","refresh_token","authorization_details","AuthorizationDetails","token_type","expectedNonce","expectNoNonce","maxAge","skipAuthTimeCheck","requireIdToken","ProcessAuthorizationCodeResponseOptions","ClientCredentialsGrantRequestOptions","grantType","token","RevocationRequestOptions","requestJwtResponse","IntrospectionRequestOptions","jkt","active","sid","username","IntrospectionResponse","keys","JWK","jwe","expectNoState","skipStateCheck","expectedState","Request","DeviceAuthorizationRequestOptions","device_code","user_code","verification_uri","verification_uri_complete","interval","DeviceAuthorizationResponse","deviceCode","extractable","modulusLength","GenerateKeyPairOptions","requireDPoP","signingAlgorithms","request","expectedAudience","ValidateJWTAccessTokenOptions","JWTAccessTokenClaims","BackchannelAuthenticationRequestOptions","auth_req_id","BackchannelAuthenticationResponse","authReqId","T","K","initialAccessToken","Partial","OmitSymbolProperties","DynamicClientRegistrationRequestOptions","resource","authorization_servers","bearer_methods_supported","resource_signing_alg_values_supported","resource_name","resource_documentation","resource_policy_uri","resource_tos_uri","authorization_details_types_supported","dpop_bound_access_tokens_required","resourceIdentifier","expectedResourceIdentifier","ResourceServer","Extract","Awaited","ReturnType","crypto","subtle","generateKey","type","privateKey","CryptoKey","publicKey","ServerMetadata","as","ClientMetadata","client","URLSearchParams","body","Headers","headers","clientSecret","ClientAuth","oauth","ModifyAssertionOptions","options","PrivateKey","clientPrivateKey","skipStateCheck","skipSubjectCheck","customFetch","modifyAssertion","clockSkew","clockTolerance","ArrayBuffer","ReadableStream","Uint8Array","DPoPHandle","Client","client_secret","use_mtls_endpoint_aliases","AuthorizationServer","codeVerifier","Promise","Error","code","alg","GenerateKeyPairOptions","CryptoKeyPair","CustomFetch","algorithm","execute","Array","Configuration","config","timeout","DiscoveryRequestOptions","DPoPOptions","initialAccessToken","URL","server","Partial","metadata","clientAuthentication","DynamicClientRegistrationRequestOptions","clientId","key","kid","contentEncryptionAlgorithms","keys","DecryptionKey","supportsPKCE","method","serverMetadata","Readonly","ServerMetadataHelpers","clientMetadata","OmitSymbolProperties","FetchBody","Record","redirect","signal","AbortSignal","url","CustomFetchOptions","Response","ConfigurationMethods","ConfigurationProperties","constructor","value","claims","IDToken","expiresIn","keyPair","DeviceAuthorizationResponse","deviceAuthorizationResponse","parameters","DeviceAuthorizationGrantPollOptions","TokenEndpointResponse","TokenEndpointResponseHelpers","BackchannelAuthenticationResponse","backchannelAuthenticationResponse","BackchannelAuthenticationGrantPollOptions","ExportedJWKSCache","jwksCache","Pick","AuthorizationCodeGrantChecks","Request","currentUrl","expectedNonce","ImplicitAuthenticationResponseChecks","checks","expectedState","idTokenExpected","maxAge","pkceCodeVerifier","tokenEndpointParameters","AuthorizationCodeGrantOptions","refreshToken","signingKey","accessToken","expectedSubject","UserInfoResponse","token","IntrospectionResponse","DPoP","grantType"],"sources":["../../../src/server/auth/constants/routes.ts","../../../src/server/auth/schemas/authenticationProviderSchema.ts","../../../src/server/auth/schemas/tokenResponseSchema.ts","../../../src/server/auth/schemas/tokensSchema.ts","../../../src/server/auth/schemas/userinfoResponseSchema.ts","../../../../../node_modules/oauth4webapi/build/index.d.ts","../../../../../node_modules/openid-client/build/index.d.ts","../../../src/server/auth/providers/ServerAuthProvider.ts","../../../src/server/auth/primitives/$auth.ts","../../../src/server/auth/primitives/$authApple.ts","../../../src/server/auth/primitives/$authCredentials.ts","../../../src/server/auth/primitives/$authFacebook.ts","../../../src/server/auth/primitives/$authFranceConnect.ts","../../../src/server/auth/primitives/$authGithub.ts","../../../src/server/auth/primitives/$authGoogle.ts","../../../src/server/auth/primitives/$authMicrosoft.ts","../../../src/server/auth/index.ts"],"x_google_ignoreList":[5,6],"mappings":";;;;;;;;cAAa,sBAAA;;;;;;;;;;cCEA,4BAAA,oBAA4B,OAAA;;;;KAc7B,sBAAA,GAAyB,MAAM,QAClC,4BAAA;;;cCZI,mBAAA,oBAAmB,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAKpB,aAAA,GAAgB,MAAM,QAAQ,mBAAA;;;cCP7B,YAAA,oBAAY,OAAA;;;;;;;;;;;KAiBb,MAAA,GAAS,MAAM,QAAQ,YAAA;;;cChBtB,sBAAA,oBAAsB,OAAA;;;;;;;;;;;;;;;;;;;;;;;;KAKvB,gBAAA,GAAmB,MAAM,QAAQ,sBAAA;;;;;;KCIjC,UAAA,uBACU,SAAS;;;;KAKnB,SAAA,GAAY,SAAS;;;;KAIrB,aAAA;;;;KAIA,SAAA,GAAY,aAAA,GAAg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