@ringcentral/freemium-signin
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.1 • Public • Published

    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

    Keywords

    none

    Install

    npm i @ringcentral/freemium-signin

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    64.3 kB

    Total Files

    18

    Last publish

    Collaborators

    • kirill.konshin
    • ross.myers