@absolutejs/auth 0.35.0 → 0.36.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/cli/migrate.js +16 -1
- package/dist/cli/migrate.js.map +4 -4
- package/dist/index.d.ts +33 -2
- package/dist/index.js +423 -20
- package/dist/index.js.map +10 -9
- package/dist/oidc/config.d.ts +76 -2
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/mtls.d.ts +11 -0
- package/dist/oidc/postgresStores.d.ts +214 -1
- package/dist/oidc/routes.d.ts +30 -0
- package/dist/oidc/types.d.ts +23 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13491,6 +13491,7 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13491
13491
|
resource?: string | undefined;
|
|
13492
13492
|
refresh_token?: string | undefined;
|
|
13493
13493
|
device_code?: string | undefined;
|
|
13494
|
+
auth_req_id?: string | undefined;
|
|
13494
13495
|
client_secret?: string | undefined;
|
|
13495
13496
|
grant_type?: string | undefined;
|
|
13496
13497
|
code?: string | undefined;
|
|
@@ -13613,6 +13614,35 @@ export declare const auth: <UserType>({ providersConfiguration, authorizeRoute,
|
|
|
13613
13614
|
};
|
|
13614
13615
|
};
|
|
13615
13616
|
};
|
|
13617
|
+
} & {
|
|
13618
|
+
[x: string]: {
|
|
13619
|
+
post: {
|
|
13620
|
+
body: {
|
|
13621
|
+
client_id?: string | undefined;
|
|
13622
|
+
scope?: string | undefined;
|
|
13623
|
+
client_secret?: string | undefined;
|
|
13624
|
+
binding_message?: string | undefined;
|
|
13625
|
+
login_hint?: string | undefined;
|
|
13626
|
+
};
|
|
13627
|
+
params: {};
|
|
13628
|
+
query: unknown;
|
|
13629
|
+
headers: {
|
|
13630
|
+
authorization?: string | undefined;
|
|
13631
|
+
};
|
|
13632
|
+
response: {
|
|
13633
|
+
200: Response;
|
|
13634
|
+
422: {
|
|
13635
|
+
type: "validation";
|
|
13636
|
+
on: string;
|
|
13637
|
+
summary?: string;
|
|
13638
|
+
message?: string;
|
|
13639
|
+
found?: unknown;
|
|
13640
|
+
property?: string;
|
|
13641
|
+
expected?: string;
|
|
13642
|
+
};
|
|
13643
|
+
};
|
|
13644
|
+
};
|
|
13645
|
+
};
|
|
13616
13646
|
} & {
|
|
13617
13647
|
[x: string]: {
|
|
13618
13648
|
post: {
|
|
@@ -15124,12 +15154,13 @@ export type { DpopResult } from './oidc/dpop';
|
|
|
15124
15154
|
export { CLIENT_ASSERTION_TYPE, verifyClientAssertion, verifyJwtSignedByClient } from './oidc/clientAuth';
|
|
15125
15155
|
export { parseSignedRequestObject } from './oidc/jar';
|
|
15126
15156
|
export type { JarParseResult } from './oidc/jar';
|
|
15127
|
-
export {
|
|
15157
|
+
export { computeCertThumbprint, extractRfc9440ClientCert, resolveClientCert, verifyCertificateBoundToken } from './oidc/mtls';
|
|
15158
|
+
export { createInMemoryAuthorizationCodeStore, createInMemoryBackchannelAuthStore, createInMemoryClientAssertionJtiStore, createInMemoryClientRegistrationTokenStore, createInMemoryDeviceAuthorizationStore, createInMemoryInitialAccessTokenStore, createInMemoryLogoutDeliveryStore, createInMemoryOAuthClientStore, createInMemoryOidcRefreshTokenStore, createInMemoryPushedAuthorizationRequestStore } from './oidc/inMemoryStores';
|
|
15128
15159
|
export { consumePushedRequest, pushAuthorizationRequest, DEFAULT_PAR_TTL_MS, REQUEST_URI_PREFIX } from './oidc/par';
|
|
15129
15160
|
export { fetchUserInfo, readUserInfoBearer, userInfoChallengeHeader } from './oidc/userinfo';
|
|
15130
15161
|
export type { UserInfoResult } from './oidc/userinfo';
|
|
15131
15162
|
export { fanOutBackchannelLogout, mintLogoutToken, resolvePostLogoutRedirect, verifyIdTokenHint } from './oidc/logout';
|
|
15132
|
-
export { createNeonAuthorizationCodeStore, createNeonClientAssertionJtiStore, createNeonClientRegistrationTokenStore, createNeonDeviceAuthorizationStore, createNeonInitialAccessTokenStore, createNeonLogoutDeliveryStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createNeonPushedAuthorizationRequestStore, createPostgresAuthorizationCodeStore, createPostgresClientAssertionJtiStore, createPostgresClientRegistrationTokenStore, createPostgresDeviceAuthorizationStore, createPostgresInitialAccessTokenStore, createPostgresLogoutDeliveryStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, createPostgresPushedAuthorizationRequestStore, oauthClientAssertionJtisTable, oauthClientRegistrationTokensTable, oauthClientsTable, oauthCodesTable, oauthDeviceAuthorizationsTable, oauthInitialAccessTokensTable, oauthLogoutDeliveriesTable, oauthPushedAuthorizationRequestsTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
15163
|
+
export { createNeonAuthorizationCodeStore, createNeonBackchannelAuthStore, createNeonClientAssertionJtiStore, createNeonClientRegistrationTokenStore, createNeonDeviceAuthorizationStore, createNeonInitialAccessTokenStore, createNeonLogoutDeliveryStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createNeonPushedAuthorizationRequestStore, createPostgresAuthorizationCodeStore, createPostgresBackchannelAuthStore, createPostgresClientAssertionJtiStore, createPostgresClientRegistrationTokenStore, createPostgresDeviceAuthorizationStore, createPostgresInitialAccessTokenStore, createPostgresLogoutDeliveryStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore, createPostgresPushedAuthorizationRequestStore, oauthClientAssertionJtisTable, oauthClientRegistrationTokensTable, oauthClientsTable, oauthCodesTable, oauthBackchannelAuthRequestsTable, oauthDeviceAuthorizationsTable, oauthInitialAccessTokensTable, oauthLogoutDeliveriesTable, oauthPushedAuthorizationRequestsTable, oauthRefreshTokensTable } from './oidc/postgresStores';
|
|
15133
15164
|
export { deleteRegisteredClient, getRegisteredClient, registerClient, updateRegisteredClient, type ClientRegistrationDecision, type ClientRegistrationMetadata, type OnClientRegistration, type RegisterClientResult } from './oidc/registration';
|
|
15134
15165
|
export * from './adaptive/config';
|
|
15135
15166
|
export * from './adaptive/fingerprint';
|