import { Observable } from 'rxjs';
import { Customer } from '../models/customer-identity.model';

/** Per docs/backend/PHASE-8-IDENTITY-MESSAGING-CONTRACT.md §2. OAuth completion is backend-side; this is the client-facing surface only. */
export interface VkIdGateway {
  getAuthorizeUrl(): Observable<string>;
  completeCallback(code: string, codeVerifier: string): Observable<Customer>;
}
