@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.
@@ -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) => "memory" | "neon";
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;
@@ -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=CDA6D1EAF66E4FA064756E2164756E21
2997
+ //# debugId=B334C7EA3DEC457764756E2164756E21
2972
2998
  //# sourceMappingURL=index.js.map