@chinchillaenterprises/mcp-ai-assistant
Version:
MCP server for AI assistant with ElevenLabs text-to-speech integration
23 lines • 671 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CredentialManager = void 0;
class CredentialManager {
accounts = new Map();
async saveAccount(account) {
this.accounts.set(account.id, account);
}
async getAccount(id) {
return this.accounts.get(id) || null;
}
async getAllAccounts() {
return Array.from(this.accounts.values());
}
async removeAccount(id) {
this.accounts.delete(id);
}
async updateAccount(account) {
this.accounts.set(account.id, account);
}
}
exports.CredentialManager = CredentialManager;
//# sourceMappingURL=credential-manager.js.map