@absolutejs/auth 0.28.0 → 0.29.0-beta.1
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 +58 -3
- package/dist/index.js +524 -35
- package/dist/index.js.map +13 -10
- package/dist/oidc/config.d.ts +2 -1
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/logout.d.ts +38 -0
- package/dist/oidc/postgresStores.d.ts +233 -1
- package/dist/oidc/routes.d.ts +53 -1
- package/dist/oidc/types.d.ts +19 -0
- package/dist/webhooks/config.d.ts +14 -1
- package/dist/webhooks/dispatcher.d.ts +1 -1
- package/dist/webhooks/inMemoryStore.d.ts +2 -0
- package/dist/webhooks/postgresStore.d.ts +136 -0
- package/dist/webhooks/types.d.ts +14 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13616,6 +13616,58 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13616
13616
|
};
|
|
13617
13617
|
};
|
|
13618
13618
|
};
|
|
13619
|
+
} & {
|
|
13620
|
+
[x: string]: {
|
|
13621
|
+
get: {
|
|
13622
|
+
body: unknown;
|
|
13623
|
+
params: {};
|
|
13624
|
+
query: {
|
|
13625
|
+
client_id?: string | undefined;
|
|
13626
|
+
state?: string | undefined;
|
|
13627
|
+
id_token_hint?: string | undefined;
|
|
13628
|
+
post_logout_redirect_uri?: string | undefined;
|
|
13629
|
+
};
|
|
13630
|
+
headers: unknown;
|
|
13631
|
+
response: {
|
|
13632
|
+
200: Response;
|
|
13633
|
+
422: {
|
|
13634
|
+
type: "validation";
|
|
13635
|
+
on: string;
|
|
13636
|
+
summary?: string;
|
|
13637
|
+
message?: string;
|
|
13638
|
+
found?: unknown;
|
|
13639
|
+
property?: string;
|
|
13640
|
+
expected?: string;
|
|
13641
|
+
};
|
|
13642
|
+
};
|
|
13643
|
+
};
|
|
13644
|
+
};
|
|
13645
|
+
} & {
|
|
13646
|
+
[x: string]: {
|
|
13647
|
+
post: {
|
|
13648
|
+
body: {
|
|
13649
|
+
client_id?: string | undefined;
|
|
13650
|
+
state?: string | undefined;
|
|
13651
|
+
id_token_hint?: string | undefined;
|
|
13652
|
+
post_logout_redirect_uri?: string | undefined;
|
|
13653
|
+
};
|
|
13654
|
+
params: {};
|
|
13655
|
+
query: unknown;
|
|
13656
|
+
headers: unknown;
|
|
13657
|
+
response: {
|
|
13658
|
+
200: Response;
|
|
13659
|
+
422: {
|
|
13660
|
+
type: "validation";
|
|
13661
|
+
on: string;
|
|
13662
|
+
summary?: string;
|
|
13663
|
+
message?: string;
|
|
13664
|
+
found?: unknown;
|
|
13665
|
+
property?: string;
|
|
13666
|
+
expected?: string;
|
|
13667
|
+
};
|
|
13668
|
+
};
|
|
13669
|
+
};
|
|
13670
|
+
};
|
|
13619
13671
|
} & {
|
|
13620
13672
|
[x: string]: {
|
|
13621
13673
|
get: {
|
|
@@ -13647,7 +13699,7 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13647
13699
|
query: unknown;
|
|
13648
13700
|
headers: unknown;
|
|
13649
13701
|
response: {
|
|
13650
|
-
200: Record<string, string | string[]>;
|
|
13702
|
+
200: Record<string, string | boolean | string[]>;
|
|
13651
13703
|
};
|
|
13652
13704
|
};
|
|
13653
13705
|
};
|
|
@@ -14848,8 +14900,9 @@ export { generateSigningKey, jwkThumbprint, signJwt, toPublicJwk, verifyJwt } fr
|
|
|
14848
14900
|
export type { SigningKey } from './oidc/keys';
|
|
14849
14901
|
export { verifyDpopProof } from './oidc/dpop';
|
|
14850
14902
|
export type { DpopResult } from './oidc/dpop';
|
|
14851
|
-
export { createInMemoryAuthorizationCodeStore, createInMemoryDeviceAuthorizationStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14852
|
-
export {
|
|
14903
|
+
export { createInMemoryAuthorizationCodeStore, createInMemoryDeviceAuthorizationStore, createInMemoryLogoutDeliveryStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14904
|
+
export { fanOutBackchannelLogout, mintLogoutToken, resolvePostLogoutRedirect, verifyIdTokenHint } from './oidc/logout';
|
|
14905
|
+
export { createNeonAuthorizationCodeStore, createNeonDeviceAuthorizationStore, createNeonLogoutDeliveryStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createPostgresAuthorizationCodeStore, createPostgresDeviceAuthorizationStore, createPostgresLogoutDeliveryStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, oauthClientsTable, oauthCodesTable, oauthDeviceAuthorizationsTable, oauthLogoutDeliveriesTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
14853
14906
|
export * from './adaptive/config';
|
|
14854
14907
|
export * from './adaptive/fingerprint';
|
|
14855
14908
|
export * from './adaptive/types';
|
|
@@ -14892,6 +14945,8 @@ export { createNeonPasswordlessTokenStore, createPostgresPasswordlessTokenStore,
|
|
|
14892
14945
|
export * from './webhooks/config';
|
|
14893
14946
|
export * from './webhooks/types';
|
|
14894
14947
|
export { createWebhookDispatcher } from './webhooks/dispatcher';
|
|
14948
|
+
export { createInMemoryWebhookDeliveryStore } from './webhooks/inMemoryStore';
|
|
14949
|
+
export { createNeonWebhookDeliveryStore, createPostgresWebhookDeliveryStore, webhookDeliveriesTable } from './webhooks/postgresStore';
|
|
14895
14950
|
export { signWebhook, verifyWebhookSignature } from './webhooks/sign';
|
|
14896
14951
|
export * from './portal/config';
|
|
14897
14952
|
export * from './portal/types';
|