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

Function canLogin

electron_app/src/clientManager.js:210–217  ·  view source on GitHub ↗
({ username, domain })

Source from the content-addressed store, hash-verified

208};
209
210const canLogin = async ({ username, domain }) => {
211 const recipientId = getRecipientId({ recipientId: username, domain });
212 const client = await createClient({
213 recipientId,
214 optionalToken: '@'
215 });
216 return await client.canLogin({ username, domain });
217};
218
219const canSend = async params => {
220 const { recipientId } = params;

Callers

nothing calls this directly

Calls 2

getRecipientIdFunction · 0.85
createClientFunction · 0.70

Tested by

no test coverage detected