diff --git a/src/ally_manager.ts b/src/ally_manager.ts index f40b5c0..3bbf3cd 100644 --- a/src/ally_manager.ts +++ b/src/ally_manager.ts @@ -16,16 +16,14 @@ import type { AllyDriverContract, AllyManagerDriverFactory } from './types.js' * HTTP request. The drivers are cached during the lifecycle of a request. */ export class AllyManager> { - /** - * Config with the list of social providers - */ - #config: KnownSocialProviders #ctx: HttpContext #driversCache: Map> = new Map() - constructor(config: KnownSocialProviders, ctx: HttpContext) { + constructor( + public config: KnownSocialProviders, + ctx: HttpContext + ) { this.#ctx = ctx - this.#config = config } /** @@ -38,7 +36,7 @@ export class AllyManager } - const driver = this.#config[provider] + const driver = this.config[provider] if (!driver) { throw new RuntimeException( `Unknown ally provider "${String(