Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ringcentral/freemium-signin

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

@ringcentral/freemium-signin

## Installation

latest
npmnpm
Version
0.0.1
Version published
Maintainers
2
Created
Source

RingCentral Freemium SignIn SDK

Installation

Use npm or yarn

$ npm install @ringcentral/freemium-signin whatwg-fetch --save

Notice: To support old Browsers, please import whatwg-fetch for fetch lib polyfill

import 'whatwg-fetch';

CDN

<script type="text/javascript" src="https://unpkg.com/whatwg-fetch@latest/dist/fetch.umd.js"></script>
<script type="text/javascript" src="https://unpkg.com/@ringcentral/freemium-signin@latest/dist/ringcentral-freemium-signin.js"></script>

Notice: Fetch polyfill is required for old Browsers.

Usage

For NPM

import { FreemiumSignIn } from '@ringcentral/freemium-signin';

const rcSignIn = new FreemiumSignIn({
  appHost: 'ringcentral_app_host'
});

For CDN

var rcSignIn = new RingCentral.FreemiumSignIn({
  appHost: 'ringcentral_app_host'
});

Send email to confirm registration

rcSignIn.register({
  email: 'email_address',
  brandId: 'brand_id',
  contractedCountry: "83", // optional
  locale: "fr-FR" // optional
});

Run the demo

Clone this project

$ npm install
$ npm run build
$ npm start

Then visit http://localhost:8080/demo/index.html

FAQs

Package last updated on 08 Dec 2021

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