Skip to content

Commit

Permalink
Rename handler factories
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Jan 29, 2021
1 parent 24f4cdb commit 4d42311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth0-session/handlers/login.ts
Expand Up @@ -15,7 +15,7 @@ function getRedirectUri(config: Config): string {

export type HandleLogin = (req: IncomingMessage, res: ServerResponse, options?: LoginOptions) => Promise<void>;

export default function loginHandler(
export default function loginHandlerFactory(
config: Config,
getClient: ClientFactory,
transientHandler: TransientStore
Expand Down
2 changes: 1 addition & 1 deletion src/auth0-session/handlers/logout.ts
Expand Up @@ -10,7 +10,7 @@ const debug = createDebug('logout');

export type HandleLogout = (req: IncomingMessage, res: ServerResponse, options?: LogoutOptions) => Promise<void>;

export default function logoutHandler(
export default function logoutHandlerFactory(
config: Config,
getClient: ClientFactory,
sessionCache: SessionCache
Expand Down

0 comments on commit 4d42311

Please sign in to comment.