import { InjectionToken, inject } from '@angular/core';
import { SocialIdentityGateway } from './social-identity-gateway.interface';
import { SocialIdentityApiGateway } from './social-identity-api.gateway';

/** Swap point for docs/backend/PHASE-8-IDENTITY-MESSAGING-CONTRACT.md §2. */
export const SOCIAL_IDENTITY_GATEWAY = new InjectionToken<SocialIdentityGateway>('SOCIAL_IDENTITY_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(SocialIdentityApiGateway),
});
