@absolutejs/auth 0.27.0-beta.9 → 0.28.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/abuse/captcha.d.ts +11 -0
- package/dist/actions.d.ts +27 -0
- package/dist/client/createAuthClient.d.ts +258 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +127 -0
- package/dist/client/index.js.map +10 -0
- package/dist/client/react.d.ts +62 -0
- package/dist/client/react.js +75 -0
- package/dist/client/react.js.map +10 -0
- package/dist/fga/config.d.ts +10 -0
- package/dist/index.d.ts +119 -5
- package/dist/index.js +9700 -9028
- package/dist/index.js.map +19 -14
- package/dist/oidc/config.d.ts +97 -2
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/postgresStores.d.ts +199 -1
- package/dist/oidc/routes.d.ts +111 -3
- package/dist/oidc/types.d.ts +20 -0
- package/dist/organizations/operations.d.ts +7 -0
- package/dist/vault/config.d.ts +20 -0
- package/dist/vault/inMemoryVaultStore.d.ts +2 -0
- package/dist/vault/postgresVaultStore.d.ts +100 -0
- package/dist/vault/types.d.ts +14 -0
- package/package.json +18 -3
package/dist/index.d.ts
CHANGED
|
@@ -13450,9 +13450,9 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13450
13450
|
body: unknown;
|
|
13451
13451
|
params: {};
|
|
13452
13452
|
query: {
|
|
13453
|
-
nonce?: string | undefined;
|
|
13454
13453
|
client_id?: string | undefined;
|
|
13455
13454
|
scope?: string | undefined;
|
|
13455
|
+
nonce?: string | undefined;
|
|
13456
13456
|
code_challenge?: string | undefined;
|
|
13457
13457
|
code_challenge_method?: string | undefined;
|
|
13458
13458
|
redirect_uri?: string | undefined;
|
|
@@ -13478,11 +13478,12 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13478
13478
|
[x: string]: {
|
|
13479
13479
|
post: {
|
|
13480
13480
|
body: {
|
|
13481
|
-
audience?: string | undefined;
|
|
13482
|
-
resource?: string | undefined;
|
|
13483
13481
|
client_id?: string | undefined;
|
|
13484
13482
|
scope?: string | undefined;
|
|
13483
|
+
audience?: string | undefined;
|
|
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: {
|
|
@@ -14635,8 +14743,13 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
14635
14743
|
standaloneSchema: {};
|
|
14636
14744
|
response: {};
|
|
14637
14745
|
}>>;
|
|
14746
|
+
export * from './actions';
|
|
14638
14747
|
export * from './types';
|
|
14639
14748
|
export * from './typebox';
|
|
14749
|
+
export * from './vault/config';
|
|
14750
|
+
export * from './vault/types';
|
|
14751
|
+
export { createInMemoryVaultStore } from './vault/inMemoryVaultStore';
|
|
14752
|
+
export { createNeonVaultStore, createPostgresVaultStore, vaultEntriesTable } from './vault/postgresVaultStore';
|
|
14640
14753
|
export type { AuthSessionStore } from './session/types';
|
|
14641
14754
|
export { isAuthIntent, isUserSessionId, isValidUser } from './typeGuards';
|
|
14642
14755
|
export { AuthIdentityConflictError } from './errors';
|
|
@@ -14698,6 +14811,7 @@ export { createTamperEvidentSink, hashAuditEvent, verifyAuditChain } from './aud
|
|
|
14698
14811
|
export type { AuditChainResult, AuditIntegrity } from './audit/integrity';
|
|
14699
14812
|
export { createSiemLogStream } from './audit/siem';
|
|
14700
14813
|
export type { SiemEndpoint, SiemFormat } from './audit/siem';
|
|
14814
|
+
export * from './abuse/captcha';
|
|
14701
14815
|
export * from './abuse/config';
|
|
14702
14816
|
export * from './authorization/config';
|
|
14703
14817
|
export { protectPermissionPlugin } from './authorization/protectPermission';
|
|
@@ -14734,8 +14848,8 @@ export { generateSigningKey, jwkThumbprint, signJwt, toPublicJwk, verifyJwt } fr
|
|
|
14734
14848
|
export type { SigningKey } from './oidc/keys';
|
|
14735
14849
|
export { verifyDpopProof } from './oidc/dpop';
|
|
14736
14850
|
export type { DpopResult } from './oidc/dpop';
|
|
14737
|
-
export { createInMemoryAuthorizationCodeStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14738
|
-
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';
|
|
14739
14853
|
export * from './adaptive/config';
|
|
14740
14854
|
export * from './adaptive/fingerprint';
|
|
14741
14855
|
export * from './adaptive/types';
|