/**
 * iam's outward-facing port: read an OAuthClient with its applications,
 * expressed in iam's own vocabulary (flattened applicationCodes).
 *
 * Lives under `@bridges/iam/` because that's iam's public/integration surface
 * — the canon "no @app/<bc> imports another @app/<other-bc>" rule applies.
 * The implementation is in `@bridges/o-auth/client/adapters/o-auth-client-reader.adapter.ts`
 * (o-auth's outward face) and the wiring is in `@bridges/iam-client-reader.bridge.ts`.
 *
 * See `.claude/skills/catalyst-cross-bounded-context-ports/SKILL.md`.
 */

export interface IamClientWithApplications {
  id: string;
  applicationCodes: string[];
}

export interface IIamClientReader {
  findByIdWithApplications(id: string): Promise<IamClientWithApplications>;
}
