@absolutejs/auth 0.56.0 → 0.56.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/README.md +2 -0
- package/dist/oidc/index.d.ts +11 -0
- package/dist/oidc/index.js +11409 -0
- package/dist/oidc/index.js.map +108 -0
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Server applications should import the primary authentication contract from
|
|
|
4
4
|
`@absolutejs/auth/server`. This declaration-stable entry point exposes `auth`,
|
|
5
5
|
session types, route protection, provider configuration, and the other core
|
|
6
6
|
server utilities without loading declarations for every optional Auth feature.
|
|
7
|
+
OIDC provider integrations should likewise import signing keys, token
|
|
8
|
+
verification, provider stores, and provider types from `@absolutejs/auth/oidc`.
|
|
7
9
|
The root entry point remains available for applications that need the complete
|
|
8
10
|
feature export surface. `auth()` exposes the complete reusable request context
|
|
9
11
|
(`protectRoute`, `requireRecentAuth`, optional `protectPermission`, and
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declaration-stable OIDC provider entry point.
|
|
3
|
+
*
|
|
4
|
+
* Server applications that only need to issue and verify OAuth/OIDC tokens
|
|
5
|
+
* should import this subpath instead of loading every optional Auth feature
|
|
6
|
+
* through the package root.
|
|
7
|
+
*/
|
|
8
|
+
export type { OidcProviderConfig } from './config';
|
|
9
|
+
export { generateSigningKey, jwkThumbprint, signJwt, toPublicJwk, verifyJwt, type SigningKey } from './keys';
|
|
10
|
+
export { createNeonAuthorizationCodeStore, createNeonClientAssertionJtiStore, createNeonClientRegistrationTokenStore, createNeonDeviceAuthorizationStore, createNeonInitialAccessTokenStore, createNeonOAuthClientStore, createNeonOidcRefreshTokenStore, createPostgresAuthorizationCodeStore, createPostgresClientAssertionJtiStore, createPostgresClientRegistrationTokenStore, createPostgresDeviceAuthorizationStore, createPostgresInitialAccessTokenStore, createPostgresOAuthClientStore, createPostgresOidcRefreshTokenStore } from './postgresStores';
|
|
11
|
+
export type { AuthorizationCodeStore, ClientAssertionJtiStore, ClientRegistrationTokenStore, DeviceAuthorizationStore, InitialAccessTokenStore, OAuthClient, OAuthClientStore, OidcRefreshTokenStore } from './types';
|