import { base44 } from '@/api/base44Client';

/** Replaceable auth contract: currentUser, isAuthenticated and lock. */
export const Base44AuthAdapter = {
  currentUser: () => base44.auth.me(),
  isAuthenticated: () => base44.auth.isAuthenticated(),
  lock: () => base44.auth.logout('/login'),
};