|
1 | 1 | // Core router |
2 | | -export type { AuthMetadataOptions, AuthRouterOptions } from './router.js'; |
3 | | -export { createOAuthMetadata, getOAuthProtectedResourceMetadataUrl, mcpAuthMetadataRouter, mcpAuthRouter } from './router.js'; |
| 2 | +export type { AuthMetadataOptions, AuthRouterOptions } from './router'; |
| 3 | +export { createOAuthMetadata, getOAuthProtectedResourceMetadataUrl, mcpAuthMetadataRouter, mcpAuthRouter } from './router'; |
4 | 4 |
|
5 | 5 | // Provider interfaces |
6 | | -export type { AuthorizationParams, OAuthServerProvider, OAuthTokenVerifier } from './provider.js'; |
| 6 | +export type { AuthorizationParams, OAuthServerProvider, OAuthTokenVerifier } from './provider'; |
7 | 7 |
|
8 | 8 | // Proxy provider |
9 | | -export type { ProxyEndpoints, ProxyOptions } from './providers/proxyProvider.js'; |
10 | | -export { ProxyOAuthServerProvider } from './providers/proxyProvider.js'; |
| 9 | +export type { ProxyEndpoints, ProxyOptions } from './providers/proxyProvider'; |
| 10 | +export { ProxyOAuthServerProvider } from './providers/proxyProvider'; |
11 | 11 |
|
12 | 12 | // Client store |
13 | | -export type { OAuthRegisteredClientsStore } from './clients.js'; |
| 13 | +export type { OAuthRegisteredClientsStore } from './clients'; |
14 | 14 |
|
15 | 15 | // Handlers |
16 | | -export type { AuthorizationHandlerOptions } from './handlers/authorize.js'; |
17 | | -export { authorizationHandler, redirectUriMatches } from './handlers/authorize.js'; |
18 | | -export { metadataHandler } from './handlers/metadata.js'; |
19 | | -export type { ClientRegistrationHandlerOptions } from './handlers/register.js'; |
20 | | -export { clientRegistrationHandler } from './handlers/register.js'; |
21 | | -export type { RevocationHandlerOptions } from './handlers/revoke.js'; |
22 | | -export { revocationHandler } from './handlers/revoke.js'; |
23 | | -export type { TokenHandlerOptions } from './handlers/token.js'; |
24 | | -export { tokenHandler } from './handlers/token.js'; |
| 16 | +export type { AuthorizationHandlerOptions } from './handlers/authorize'; |
| 17 | +export { authorizationHandler, redirectUriMatches } from './handlers/authorize'; |
| 18 | +export { metadataHandler } from './handlers/metadata'; |
| 19 | +export type { ClientRegistrationHandlerOptions } from './handlers/register'; |
| 20 | +export { clientRegistrationHandler } from './handlers/register'; |
| 21 | +export type { RevocationHandlerOptions } from './handlers/revoke'; |
| 22 | +export { revocationHandler } from './handlers/revoke'; |
| 23 | +export type { TokenHandlerOptions } from './handlers/token'; |
| 24 | +export { tokenHandler } from './handlers/token'; |
25 | 25 |
|
26 | 26 | // Middleware |
27 | | -export { allowedMethods } from './middleware/allowedMethods.js'; |
28 | | -export type { BearerAuthMiddlewareOptions } from './middleware/bearerAuth.js'; |
29 | | -export { requireBearerAuth } from './middleware/bearerAuth.js'; |
30 | | -export type { ClientAuthenticationMiddlewareOptions } from './middleware/clientAuth.js'; |
31 | | -export { authenticateClient } from './middleware/clientAuth.js'; |
| 27 | +export { allowedMethods } from './middleware/allowedMethods'; |
| 28 | +export type { BearerAuthMiddlewareOptions } from './middleware/bearerAuth'; |
| 29 | +export { requireBearerAuth } from './middleware/bearerAuth'; |
| 30 | +export type { ClientAuthenticationMiddlewareOptions } from './middleware/clientAuth'; |
| 31 | +export { authenticateClient } from './middleware/clientAuth'; |
32 | 32 |
|
33 | 33 | // Error classes |
34 | | -export * from './errors.js'; |
| 34 | +export * from './errors'; |
35 | 35 |
|
36 | 36 | // Types |
37 | | -export type { AuthInfo } from './types.js'; |
| 37 | +export type { AuthInfo } from './types'; |
0 commit comments