How to use the @advanced-rest-client/electron-oauth2.Oauth2Identity.listen function in @advanced-rest-client/electron-oauth2

To help you get started, we’ve selected a few @advanced-rest-client/electron-oauth2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github advanced-rest-client / arc-electron / scripts / main / arc-environment.js View on Github external
constructor(params = {}) {
    this.isDebug = params.isDebug || false;
    this.withDevtools = params.withDevtools || false;
    this._initializeConfiguration(params);
    this._initializeWindowsManager(params);
    this._initializeMenu();
    this._initializeUpdateStatus();
    this._initializeGoogleDriveIntegration();
    this._initializeSessionManager();
    this._initializeApplicationMenu();
    this._initializeAppPrompts();
    this._initializeThemes();
    Oauth2Identity.listen();

    // Remote commands protocol
    if (params.port) {
      this._initializeCommunicationProtocol(params.port);
    }

    // The most general events
    ipcMain.on('open-external-url', this._externalUrlHandler.bind(this));
  }
github advanced-rest-client / arc-electron / main.js View on Github external
log.debug('Protocols ready');
      this._initializeMenu();
      this._initializeWindowsManager();
      this._initializeUpdateStatus();
      this._initializeGoogleDriveIntegration();
      this._initializeSessionManager();
      this._initializeSearchService();
      this._initializeApplicationMenu();
      this.remote = new RemoteApi(this.wm);
      this.wm.open();
      if (!this.isDebug()) {
        this.us.start(this.initOptions.settingsFile);
      }
      this.prompts = new AppPrompts();
      this.prompts.listen();
      Oauth2Identity.listen();
      log.info('Application is now ready.');
    })
    .catch((cause) => {

@advanced-rest-client/electron-oauth2

OAuth 2 library for Electron application build for Advanced REST Client

Apache-2.0
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular @advanced-rest-client/electron-oauth2 functions

Similar packages