Files
vitanovaPackages/packages/auth/src/config.ts

8 lines
495 B
TypeScript
Raw Normal View History

import { InjectionToken } from '@angular/core';
/** Base URL for the auth backend, e.g. `https://api.example.com`. Provide from the consuming app's environment config. */
export const AUTH_API_URL = new InjectionToken<string>('@marketplaces/auth AUTH_API_URL');
/** Telegram bot username used to build QR/deep-link login URLs. Optional — falls back to a default if not provided. */
export const TELEGRAM_BOT_USERNAME = new InjectionToken<string>('@marketplaces/auth TELEGRAM_BOT_USERNAME');