Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

438 B
Raw Blame
import DefaultM2MAuth from './defaultM2MAuth.verification';
import DefaultUIAuth from './defaultUIAuth.verification';

export interface AuthStrategy {
  name: string;
  verifyToken: (token: string) => Promise<{
    error?: string | null;
    data?: any | null;
    success: boolean;
  }>;
}

const tokenVerStrategies = {
  defaultUIAuth: new DefaultUIAuth(),
  defaultM2MAuth: new DefaultM2MAuth(),
};

export default tokenVerStrategies;