New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gotowebinarauthorization

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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
Version published
Maintainers
1
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

G2W

FAQs

Package last updated on 23 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