@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/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>> & import("./types").SessionRecord<unknown>;
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" | "Invalid provider" | "Session has no access token to revoke";
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" | "Invalid provider" | "No refresh token found";
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" | "Invalid provider" | "No user session 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';