@absolutejs/auth 0.29.0-beta.0 → 0.29.0-beta.2
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 +59 -3
- package/dist/index.js +495 -19
- package/dist/index.js.map +10 -8
- package/dist/oidc/clientAuth.d.ts +8 -0
- package/dist/oidc/config.d.ts +3 -1
- package/dist/oidc/inMemoryStores.d.ts +3 -1
- package/dist/oidc/logout.d.ts +38 -0
- package/dist/oidc/postgresStores.d.ts +354 -1
- package/dist/oidc/routes.d.ts +55 -1
- package/dist/oidc/types.d.ts +24 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13488,6 +13488,8 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13488
13488
|
grant_type?: string | undefined;
|
|
13489
13489
|
code?: string | undefined;
|
|
13490
13490
|
redirect_uri?: string | undefined;
|
|
13491
|
+
client_assertion?: string | undefined;
|
|
13492
|
+
client_assertion_type?: string | undefined;
|
|
13491
13493
|
code_verifier?: string | undefined;
|
|
13492
13494
|
subject_token?: string | undefined;
|
|
13493
13495
|
subject_token_type?: string | undefined;
|
|
@@ -13616,6 +13618,58 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13616
13618
|
};
|
|
13617
13619
|
};
|
|
13618
13620
|
};
|
|
13621
|
+
} & {
|
|
13622
|
+
[x: string]: {
|
|
13623
|
+
get: {
|
|
13624
|
+
body: unknown;
|
|
13625
|
+
params: {};
|
|
13626
|
+
query: {
|
|
13627
|
+
client_id?: string | undefined;
|
|
13628
|
+
state?: string | undefined;
|
|
13629
|
+
id_token_hint?: string | undefined;
|
|
13630
|
+
post_logout_redirect_uri?: string | undefined;
|
|
13631
|
+
};
|
|
13632
|
+
headers: unknown;
|
|
13633
|
+
response: {
|
|
13634
|
+
200: Response;
|
|
13635
|
+
422: {
|
|
13636
|
+
type: "validation";
|
|
13637
|
+
on: string;
|
|
13638
|
+
summary?: string;
|
|
13639
|
+
message?: string;
|
|
13640
|
+
found?: unknown;
|
|
13641
|
+
property?: string;
|
|
13642
|
+
expected?: string;
|
|
13643
|
+
};
|
|
13644
|
+
};
|
|
13645
|
+
};
|
|
13646
|
+
};
|
|
13647
|
+
} & {
|
|
13648
|
+
[x: string]: {
|
|
13649
|
+
post: {
|
|
13650
|
+
body: {
|
|
13651
|
+
client_id?: string | undefined;
|
|
13652
|
+
state?: string | undefined;
|
|
13653
|
+
id_token_hint?: string | undefined;
|
|
13654
|
+
post_logout_redirect_uri?: string | undefined;
|
|
13655
|
+
};
|
|
13656
|
+
params: {};
|
|
13657
|
+
query: unknown;
|
|
13658
|
+
headers: unknown;
|
|
13659
|
+
response: {
|
|
13660
|
+
200: Response;
|
|
13661
|
+
422: {
|
|
13662
|
+
type: "validation";
|
|
13663
|
+
on: string;
|
|
13664
|
+
summary?: string;
|
|
13665
|
+
message?: string;
|
|
13666
|
+
found?: unknown;
|
|
13667
|
+
property?: string;
|
|
13668
|
+
expected?: string;
|
|
13669
|
+
};
|
|
13670
|
+
};
|
|
13671
|
+
};
|
|
13672
|
+
};
|
|
13619
13673
|
} & {
|
|
13620
13674
|
[x: string]: {
|
|
13621
13675
|
get: {
|
|
@@ -13647,7 +13701,7 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13647
13701
|
query: unknown;
|
|
13648
13702
|
headers: unknown;
|
|
13649
13703
|
response: {
|
|
13650
|
-
200: Record<string, string | string[]>;
|
|
13704
|
+
200: Record<string, string | boolean | string[]>;
|
|
13651
13705
|
};
|
|
13652
13706
|
};
|
|
13653
13707
|
};
|
|
@@ -14848,8 +14902,10 @@ export { generateSigningKey, jwkThumbprint, signJwt, toPublicJwk, verifyJwt } fr
|
|
|
14848
14902
|
export type { SigningKey } from './oidc/keys';
|
|
14849
14903
|
export { verifyDpopProof } from './oidc/dpop';
|
|
14850
14904
|
export type { DpopResult } from './oidc/dpop';
|
|
14851
|
-
export {
|
|
14852
|
-
export {
|
|
14905
|
+
export { CLIENT_ASSERTION_TYPE, verifyClientAssertion } from './oidc/clientAuth';
|
|
14906
|
+
export { createInMemoryAuthorizationCodeStore, createInMemoryClientAssertionJtiStore, createInMemoryDeviceAuthorizationStore, createInMemoryLogoutDeliveryStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore } from './oidc/inMemoryStores';
|
|
14907
|
+
export { fanOutBackchannelLogout, mintLogoutToken, resolvePostLogoutRedirect, verifyIdTokenHint } from './oidc/logout';
|
|
14908
|
+
export { createNeonAuthorizationCodeStore, createNeonClientAssertionJtiStore, createNeonDeviceAuthorizationStore, createNeonLogoutDeliveryStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createPostgresAuthorizationCodeStore, createPostgresClientAssertionJtiStore, createPostgresDeviceAuthorizationStore, createPostgresLogoutDeliveryStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, oauthClientAssertionJtisTable, oauthClientsTable, oauthCodesTable, oauthDeviceAuthorizationsTable, oauthLogoutDeliveriesTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
14853
14909
|
export * from './adaptive/config';
|
|
14854
14910
|
export * from './adaptive/fingerprint';
|
|
14855
14911
|
export * from './adaptive/types';
|