MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / getAccessToken

Method getAccessToken

src/controller/editor.controller.js:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 async getAccessToken() {
86 return this.peers.gmailController.getAccessToken({
87 ...this.state.userInfo,
88 beforeAuth: () => this.beforeAuthorization(),
89 afterAuth: () => this.afterAuthorization()
90 });
91 }
92
93 beforeAuthorization() {
94 this.ports.editor.emit('error-message', {

Callers 1

onEditorMountMethod · 0.95

Calls 2

beforeAuthorizationMethod · 0.95
afterAuthorizationMethod · 0.95

Tested by

no test coverage detected