@absolutejs/auth 0.57.7 → 0.57.9
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/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.js +66 -35
- package/dist/agents/index.js.map +3 -3
- package/dist/agents/postgresStores.d.ts +586 -1
- package/dist/cli/migrate.js +152 -68
- package/dist/cli/migrate.js.map +6 -6
- package/dist/htmx/index.js +269 -111
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.d.ts +6 -5
- package/dist/index.js +405 -168
- package/dist/index.js.map +12 -12
- package/dist/linkedProviders/index.js +269 -111
- package/dist/linkedProviders/index.js.map +3 -3
- package/dist/providers/clients.d.ts +30 -17
- package/dist/providers/index.js +269 -111
- package/dist/providers/index.js.map +3 -3
- package/dist/routes/profile.d.ts +6 -3
- package/dist/routes/refresh.d.ts +1 -1
- package/dist/routes/revoke.d.ts +1 -1
- package/dist/server.js +399 -168
- package/dist/server.js.map +12 -12
- package/dist/session/neonStore.d.ts +60 -0
- package/dist/types.d.ts +6 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -355,7 +355,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
|
|
|
355
355
|
coreRoutes: Elysia<"", {
|
|
356
356
|
decorator: {};
|
|
357
357
|
store: {
|
|
358
|
-
session: import("./types").SessionRecord<UserType> & import("./types").SessionRecord<NoInfer<UserType
|
|
358
|
+
session: import("./types").SessionRecord<UserType> & import("./types").SessionRecord<NoInfer<UserType>>;
|
|
359
359
|
unregisteredSession: import("./types").UnregisteredSessionRecord;
|
|
360
360
|
};
|
|
361
361
|
derive: {
|
|
@@ -423,7 +423,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
|
|
|
423
423
|
query: unknown;
|
|
424
424
|
headers: unknown;
|
|
425
425
|
response: {
|
|
426
|
-
400: "Cookies are missing" | "
|
|
426
|
+
400: "Cookies are missing" | "Session has no access token to revoke";
|
|
427
427
|
401: "Provider is required" | "Client provider not found" | "Client variant is required" | "Client variant not found" | "No auth provider found" | "No user session found";
|
|
428
428
|
501: "Provider does not support revocation";
|
|
429
429
|
200: Response;
|
|
@@ -474,7 +474,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
|
|
|
474
474
|
query: unknown;
|
|
475
475
|
headers: unknown;
|
|
476
476
|
response: {
|
|
477
|
-
400: "Cookies are missing" | "
|
|
477
|
+
400: "Cookies are missing" | "No refresh token found";
|
|
478
478
|
401: "Provider is required" | "Client provider not found" | "Client variant is required" | "Client variant not found" | "No auth provider found" | "No user session found";
|
|
479
479
|
501: "Provider is not refreshable";
|
|
480
480
|
200: Response;
|
|
@@ -576,7 +576,8 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
|
|
|
576
576
|
headers: unknown;
|
|
577
577
|
response: {
|
|
578
578
|
400: "Cookies are missing" | "Session has no access token to fetch a profile";
|
|
579
|
-
401: "Provider is required" | "Client provider not found" | "Client variant is required" | "Client variant not found" | "No auth provider found" | "
|
|
579
|
+
401: "Provider is required" | "Client provider not found" | "Client variant is required" | "Client variant not found" | "No auth provider found" | "No user session found";
|
|
580
|
+
501: "Provider does not expose a profile endpoint";
|
|
580
581
|
200: Response;
|
|
581
582
|
422: {
|
|
582
583
|
type: "validation";
|
|
@@ -3554,7 +3555,7 @@ export { agentAuthPlugin, agentAuthChallenge } from './agents/routes';
|
|
|
3554
3555
|
export { resolveAgentPrincipal, agentHasScopes } from './agents/principal';
|
|
3555
3556
|
export { createOidcAgentCredentialVerifier } from './agents/oidcAdapter';
|
|
3556
3557
|
export { createInMemoryAgentDelegationStore, createInMemoryAgentIdentityRegistrationStore, createInMemoryAgentRegistrationStore } from './agents/inMemoryStores';
|
|
3557
|
-
export { agentDelegationsTable, agentIdentityRegistrationsTable, agentRegistrationsTable, createNeonAgentDelegationStore, createNeonAgentIdentityRegistrationStore, createNeonAgentRegistrationStore, createDrizzleAgentDelegationStore, createPostgresAgentDelegationStore, createPostgresAgentIdentityRegistrationStore, createPostgresAgentRegistrationStore } from './agents/postgresStores';
|
|
3558
|
+
export { agentDelegationsTable, agentDelegationsBunSqlTable, agentIdentityRegistrationsTable, agentIdentityRegistrationsBunSqlTable, agentRegistrationsTable, agentRegistrationsBunSqlTable, createBunSqlDrizzleAgentDelegationStore, createBunSqlDrizzleAgentIdentityRegistrationStore, createBunSqlDrizzleAgentRegistrationStore, createNeonAgentDelegationStore, createNeonAgentIdentityRegistrationStore, createNeonAgentRegistrationStore, createDrizzleAgentDelegationStore, createPostgresAgentDelegationStore, createPostgresAgentIdentityRegistrationStore, createPostgresAgentRegistrationStore } from './agents/postgresStores';
|
|
3558
3559
|
export { createInMemoryAccessTokenStore, createInMemoryApiClientStore, createInMemoryApiKeyStore } from './apikeys/inMemoryStores';
|
|
3559
3560
|
export { accessTokensTable, apiClientsTable, apiKeysTable, createNeonAccessTokenStore, createNeonApiClientStore, createNeonApiKeyStore, createPostgresAccessTokenStore, createPostgresApiClientStore, createPostgresApiKeyStore } from './apikeys/postgresStores';
|
|
3560
3561
|
export * from './oidc/config';
|