From df85a4cf3dc40a45edd4fefea904ac9be72a6e32 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Fri, 9 Aug 2024 12:29:31 -0400 Subject: [PATCH] Encapsulate "oauth-facade" in its own module --- src/{oauth-facade.ts => oauth-facade/index.ts} | 2 +- .../no-hash-query-string-utils.ts} | 0 src/{ => oauth-facade}/resolving-redirect-request-handler.ts | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{oauth-facade.ts => oauth-facade/index.ts} (98%) rename src/{query-string-utils.ts => oauth-facade/no-hash-query-string-utils.ts} (100%) rename src/{ => oauth-facade}/resolving-redirect-request-handler.ts (100%) diff --git a/src/oauth-facade.ts b/src/oauth-facade/index.ts similarity index 98% rename from src/oauth-facade.ts rename to src/oauth-facade/index.ts index 51864ff..82b31b7 100644 --- a/src/oauth-facade.ts +++ b/src/oauth-facade/index.ts @@ -14,7 +14,7 @@ import { } from '@openid/appauth'; import type { TokenRequestHandler } from '@openid/appauth/src/token_request_handler'; -import NoHashQueryStringUtils from './query-string-utils'; +import NoHashQueryStringUtils from './no-hash-query-string-utils'; import ResolvingRedirectRequestHandler from './resolving-redirect-request-handler'; export { TokenResponse, type TokenResponseJson } from '@openid/appauth'; diff --git a/src/query-string-utils.ts b/src/oauth-facade/no-hash-query-string-utils.ts similarity index 100% rename from src/query-string-utils.ts rename to src/oauth-facade/no-hash-query-string-utils.ts diff --git a/src/resolving-redirect-request-handler.ts b/src/oauth-facade/resolving-redirect-request-handler.ts similarity index 100% rename from src/resolving-redirect-request-handler.ts rename to src/oauth-facade/resolving-redirect-request-handler.ts