Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fundcount/gotowebinarauthorization

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fundcount/gotowebinarauthorization

The node module that simplify authorization in go to webinar service. Returns access_token, refresh_token and other data

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Description

Module that simplify authorization in GoToWebinar servise. Can be used for getting access tokens for registration users to webinars.

Usedge

npm install gotowebinarauthorization

Example

consumer key and consumer secret: https://goto-developer.logmeininc.com/how-create-developer-app

authKey: https://goto-developer.logmeininc.com/how-get-access-token-and-organizer-key


var G2W = require('gotowebinarauthorization');

var appConfig = {
  consumerKey: 'You consumer key',
  consumerSecret: 'you consumer secret',
  };

var accountConfig = {
  username: USER NAME,
  password: PASSWORD,
  grant_type: 'password'
};

function callback(body) {
  console.log(body);
  // this will return a obj like
  // {"access_token":"xxxxx",
  // "token_type":"Bearer",
  // "refresh_token":"xxxxx",
  // "expires_in":3600,
  // "version":"3",
  // "account_key":"xxxx",
  // ...,
  // "organizer_key":"xxxx"}
} 

G2W.directLogin(appConfig, accountConfig, callback);

Response example

{ access_token: 'xxxx',
  token_type: 'Bearer',
  expires_in: 3600,
  version: '3',
  account_key: 'xxxx',
  account_type: '',
  email: 'xxxx',
  firstName: 'xxxx ',
  lastName: 'xxxx',
  organizer_key: 'xxxx',
  refresh_token: 'xxxx' }

Keywords

FAQs

Package last updated on 27 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc