MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / login

Function login

electron_app/src/clientManager.js:457–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455};
456
457const login = async data => {
458 const { username, domain } = data;
459 const recipientId = getRecipientId({ recipientId: username, domain });
460 const client = await createClient({
461 recipientId,
462 optionalToken: '@'
463 });
464 return await client.login(data);
465};
466
467const loginFirst = async data => {
468 const { username, domain } = data;

Callers

nothing calls this directly

Calls 2

getRecipientIdFunction · 0.85
createClientFunction · 0.70

Tested by

no test coverage detected