Files
vitanovaPackages/packages/auth/src/config.ts
sdarbinyan c628b1d8a9
Some checks failed
Release / release (push) Has been cancelled
feat: migrate telegram + ed25519 auth implementation into @marketplaces/auth
2026-08-18 00:52:00 +04:00

8 lines
495 B
TypeScript

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');