Socket
Socket
Sign inDemoInstall

oly-client-gate

Package Overview
Dependencies
14
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    oly-client-gate

Olympusat Client SDK Auth0 Gate


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
9.70 MB
Created
Weekly downloads
 

Readme

Source
Usage

To add the Authentication gate and the Centralizer to your project:

  1. Include the oly-sdk & react-oly-gate package
  2. Import the Gate & instantiate it with your branding info and credentials
npm i -S @olympusat/oly-client-sdk oly-client-gate
  import {Oly} from '@olympusat/oly-client-sdk';
  import {Gate} from '@olympusat/oly-client-gate';

  import getOlySdkOptions from "./olySdkOptions";
  import getOlyGateOptions from "./olyGateOptions";

  new Oly(getOlySdkOptions());
  new Gate(getOlyGateOptions());

Example config file

export default () => ({
  logo: '/images/olyhub_logo_v1_text_blackx200.png',
  brandingColor: '#103463',
  centralizerAppsIconColor: '#efefef',
  hideAppCentralizer: false,
  profileSettingsLink: '/account',
  appSlug: 'cloudplat-management',
  debugMode: false, // boolean | turns internal console logs on and off
  notifications: {// Optional: All noty options can be passed in here for push notification display
    layout: 'bottomRight',
    type: 'alert',
    animation: {
      open: 'animated bounceInRight', // Animate.css class names
      close: 'animated bounceOutRight' // Animate.css class names
    },
    timeout: 3000,
    progressBar: true
  }
});

FAQs

Last updated on 01 Aug 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc