@absolutejs/auth 0.83.0 → 0.85.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/CHANGELOG.md +17 -0
- package/changelog.json +44 -2
- package/dist/bun.js +27 -1
- package/dist/bun.js.map +3 -3
- package/dist/cli/migrate.js +27 -1
- package/dist/cli/migrate.js.map +3 -3
- package/dist/cli/setup.d.ts +1 -1
- package/dist/htmx/index.js +27 -1
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.js +27 -1
- package/dist/index.js.map +3 -3
- package/dist/linkedProviders/index.js +27 -1
- package/dist/linkedProviders/index.js.map +3 -3
- package/dist/providers/clients.d.ts +28 -3
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.js +43 -1
- package/dist/providers/index.js.map +5 -4
- package/dist/providers/neon.d.ts +42 -0
- package/dist/server.js +27 -1
- package/dist/server.js.map +3 -3
- package/docs/neon.md +49 -0
- package/package.json +2 -2
package/dist/cli/setup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { runMigrations } from '../migrations';
|
|
2
2
|
/** A missing or unknown selection must never silently become ephemeral storage. */
|
|
3
|
-
export declare const setupStorage: (configuration: unknown) => "
|
|
3
|
+
export declare const setupStorage: (configuration: unknown) => "neon" | "memory";
|
|
4
4
|
export declare const runSetup: ({ configuration, databaseUrl, migrate, log }?: {
|
|
5
5
|
configuration?: unknown;
|
|
6
6
|
databaseUrl?: string;
|
package/dist/htmx/index.js
CHANGED
|
@@ -1262,6 +1262,32 @@ var providers = defineProviders({
|
|
|
1262
1262
|
url: "https://nid.naver.com/oauth2.0/token"
|
|
1263
1263
|
}
|
|
1264
1264
|
},
|
|
1265
|
+
neon: {
|
|
1266
|
+
authorizationUrl: "https://oauth2.neon.tech/oauth2/auth",
|
|
1267
|
+
isOIDC: true,
|
|
1268
|
+
isRefreshable: true,
|
|
1269
|
+
PKCEMethod: "S256",
|
|
1270
|
+
profileRequest: {
|
|
1271
|
+
authIn: "header",
|
|
1272
|
+
encoding: "application/json",
|
|
1273
|
+
method: "GET",
|
|
1274
|
+
url: "https://oauth2.neon.tech/userinfo"
|
|
1275
|
+
},
|
|
1276
|
+
revocationRequest: {
|
|
1277
|
+
authIn: "body",
|
|
1278
|
+
encoding: "application/x-www-form-urlencoded",
|
|
1279
|
+
tokenParamName: "token",
|
|
1280
|
+
url: "https://oauth2.neon.tech/oauth2/revoke"
|
|
1281
|
+
},
|
|
1282
|
+
scopeRequired: true,
|
|
1283
|
+
subject: ["sub"],
|
|
1284
|
+
subjectType: "string",
|
|
1285
|
+
tokenRequest: {
|
|
1286
|
+
authIn: "body",
|
|
1287
|
+
encoding: "application/x-www-form-urlencoded",
|
|
1288
|
+
url: "https://oauth2.neon.tech/oauth2/token"
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1265
1291
|
notion: {
|
|
1266
1292
|
authorizationUrl: "https://api.notion.com/v1/oauth/authorize",
|
|
1267
1293
|
email: ["bot", "owner", "user", "person", "email"],
|
|
@@ -2968,5 +2994,5 @@ export {
|
|
|
2968
2994
|
resolveAuthHtmxRenderers
|
|
2969
2995
|
};
|
|
2970
2996
|
|
|
2971
|
-
//# debugId=
|
|
2997
|
+
//# debugId=B334C7EA3DEC457764756E2164756E21
|
|
2972
2998
|
//# sourceMappingURL=index.js.map
|