@absolutejs/auth 0.27.0 → 0.29.0-beta.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/dist/index.d.ts +112 -2
- package/dist/index.js +647 -40
- package/dist/index.js.map +12 -10
- package/dist/oidc/config.d.ts +91 -2
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/postgresStores.d.ts +199 -1
- package/dist/oidc/routes.d.ts +108 -0
- package/dist/oidc/types.d.ts +20 -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
|
@@ -13483,6 +13483,7 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13483
13483
|
audience?: string | undefined;
|
|
13484
13484
|
resource?: string | undefined;
|
|
13485
13485
|
refresh_token?: string | undefined;
|
|
13486
|
+
device_code?: string | undefined;
|
|
13486
13487
|
client_secret?: string | undefined;
|
|
13487
13488
|
grant_type?: string | undefined;
|
|
13488
13489
|
code?: string | undefined;
|
|
@@ -13508,6 +13509,113 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13508
13509
|
};
|
|
13509
13510
|
};
|
|
13510
13511
|
};
|
|
13512
|
+
} & {
|
|
13513
|
+
[x: string]: {
|
|
13514
|
+
post: {
|
|
13515
|
+
body: {
|
|
13516
|
+
client_id?: string | undefined;
|
|
13517
|
+
client_secret?: string | undefined;
|
|
13518
|
+
token_type_hint?: string | undefined;
|
|
13519
|
+
token: string;
|
|
13520
|
+
};
|
|
13521
|
+
params: {};
|
|
13522
|
+
query: unknown;
|
|
13523
|
+
headers: {
|
|
13524
|
+
authorization?: string | undefined;
|
|
13525
|
+
};
|
|
13526
|
+
response: {
|
|
13527
|
+
200: Response;
|
|
13528
|
+
422: {
|
|
13529
|
+
type: "validation";
|
|
13530
|
+
on: string;
|
|
13531
|
+
summary?: string;
|
|
13532
|
+
message?: string;
|
|
13533
|
+
found?: unknown;
|
|
13534
|
+
property?: string;
|
|
13535
|
+
expected?: string;
|
|
13536
|
+
};
|
|
13537
|
+
};
|
|
13538
|
+
};
|
|
13539
|
+
};
|
|
13540
|
+
} & {
|
|
13541
|
+
[x: string]: {
|
|
13542
|
+
post: {
|
|
13543
|
+
body: {
|
|
13544
|
+
client_id?: string | undefined;
|
|
13545
|
+
client_secret?: string | undefined;
|
|
13546
|
+
token_type_hint?: string | undefined;
|
|
13547
|
+
token: string;
|
|
13548
|
+
};
|
|
13549
|
+
params: {};
|
|
13550
|
+
query: unknown;
|
|
13551
|
+
headers: {
|
|
13552
|
+
authorization?: string | undefined;
|
|
13553
|
+
};
|
|
13554
|
+
response: {
|
|
13555
|
+
200: Response;
|
|
13556
|
+
422: {
|
|
13557
|
+
type: "validation";
|
|
13558
|
+
on: string;
|
|
13559
|
+
summary?: string;
|
|
13560
|
+
message?: string;
|
|
13561
|
+
found?: unknown;
|
|
13562
|
+
property?: string;
|
|
13563
|
+
expected?: string;
|
|
13564
|
+
};
|
|
13565
|
+
};
|
|
13566
|
+
};
|
|
13567
|
+
};
|
|
13568
|
+
} & {
|
|
13569
|
+
[x: string]: {
|
|
13570
|
+
post: {
|
|
13571
|
+
body: {
|
|
13572
|
+
client_id?: string | undefined;
|
|
13573
|
+
scope?: string | undefined;
|
|
13574
|
+
client_secret?: string | undefined;
|
|
13575
|
+
};
|
|
13576
|
+
params: {};
|
|
13577
|
+
query: unknown;
|
|
13578
|
+
headers: {
|
|
13579
|
+
authorization?: string | undefined;
|
|
13580
|
+
};
|
|
13581
|
+
response: {
|
|
13582
|
+
200: Response;
|
|
13583
|
+
422: {
|
|
13584
|
+
type: "validation";
|
|
13585
|
+
on: string;
|
|
13586
|
+
summary?: string;
|
|
13587
|
+
message?: string;
|
|
13588
|
+
found?: unknown;
|
|
13589
|
+
property?: string;
|
|
13590
|
+
expected?: string;
|
|
13591
|
+
};
|
|
13592
|
+
};
|
|
13593
|
+
};
|
|
13594
|
+
};
|
|
13595
|
+
} & {
|
|
13596
|
+
[x: string]: {
|
|
13597
|
+
post: {
|
|
13598
|
+
body: {
|
|
13599
|
+
action?: "deny" | "approve" | undefined;
|
|
13600
|
+
user_code: string;
|
|
13601
|
+
};
|
|
13602
|
+
params: {};
|
|
13603
|
+
query: unknown;
|
|
13604
|
+
headers: unknown;
|
|
13605
|
+
response: {
|
|
13606
|
+
200: Response;
|
|
13607
|
+
422: {
|
|
13608
|
+
type: "validation";
|
|
13609
|
+
on: string;
|
|
13610
|
+
summary?: string;
|
|
13611
|
+
message?: string;
|
|
13612
|
+
found?: unknown;
|
|
13613
|
+
property?: string;
|
|
13614
|
+
expected?: string;
|
|
13615
|
+
};
|
|
13616
|
+
};
|
|
13617
|
+
};
|
|
13618
|
+
};
|
|
13511
13619
|
} & {
|
|
13512
13620
|
[x: string]: {
|
|
13513
13621
|
get: {
|
|
@@ -14740,8 +14848,8 @@ export { generateSigningKey, jwkThumbprint, signJwt, toPublicJwk, verifyJwt } fr
|
|
|
14740
14848
|
export type { SigningKey } from './oidc/keys';
|
|
14741
14849
|
export { verifyDpopProof } from './oidc/dpop';
|
|
14742
14850
|
export type { DpopResult } from './oidc/dpop';
|
|
14743
|
-
export { createInMemoryAuthorizationCodeStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14744
|
-
export { createNeonAuthorizationCodeStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createPostgresAuthorizationCodeStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, oauthClientsTable, oauthCodesTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
14851
|
+
export { createInMemoryAuthorizationCodeStore, createInMemoryDeviceAuthorizationStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14852
|
+
export { createNeonAuthorizationCodeStore, createNeonDeviceAuthorizationStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createPostgresAuthorizationCodeStore, createPostgresDeviceAuthorizationStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, oauthClientsTable, oauthCodesTable, oauthDeviceAuthorizationsTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
14745
14853
|
export * from './adaptive/config';
|
|
14746
14854
|
export * from './adaptive/fingerprint';
|
|
14747
14855
|
export * from './adaptive/types';
|
|
@@ -14784,6 +14892,8 @@ export { createNeonPasswordlessTokenStore, createPostgresPasswordlessTokenStore,
|
|
|
14784
14892
|
export * from './webhooks/config';
|
|
14785
14893
|
export * from './webhooks/types';
|
|
14786
14894
|
export { createWebhookDispatcher } from './webhooks/dispatcher';
|
|
14895
|
+
export { createInMemoryWebhookDeliveryStore } from './webhooks/inMemoryStore';
|
|
14896
|
+
export { createNeonWebhookDeliveryStore, createPostgresWebhookDeliveryStore, webhookDeliveriesTable } from './webhooks/postgresStore';
|
|
14787
14897
|
export { signWebhook, verifyWebhookSignature } from './webhooks/sign';
|
|
14788
14898
|
export * from './portal/config';
|
|
14789
14899
|
export * from './portal/types';
|