MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / checkLicense

Method checkLicense

src/controller/gmail.controller.js:227–236  ·  view source on GitHub ↗
(userInfo)

Source from the content-addressed store, hash-verified

225 }
226
227 async checkLicense(userInfo) {
228 try {
229 await gmail.checkLicense(userInfo);
230 } catch (e) {
231 const slotId = getUUID();
232 setAppDataSlot(slotId, {email: userInfo.email});
233 await mvelo.tabs.loadAppTab(`?slotId=${slotId}#/settings/provider/license`);
234 throw e;
235 }
236 }
237
238 async openAuthorizeDialog({email, legacyGsuite, scopes}) {
239 const activeTab = await mvelo.tabs.getActive();

Callers 2

getAccessTokenMethod · 0.95
onAuthorizeMethod · 0.95

Calls 2

getUUIDFunction · 0.90
setAppDataSlotFunction · 0.90

Tested by

no test coverage detected