import type { EntraConfig } from '../config/check-entra-config';

/**
 * DI token used to inject the parsed Entra configuration.
 *
 * Usage:
 *   @Inject(ENTRA_CONFIG) private readonly entra: EntraConfig
 *
 * The provider lives in `AuthModule` — modules that need the config
 * import `AuthModule` (not a global module on purpose; "I depend on
 * auth" is worth stating in code).
 */
export const ENTRA_CONFIG = 'ENTRA_CONFIG';

export type { EntraConfig };
