Socket
Socket
Sign inDemoInstall

@advanced-rest-client/oauth2-scope-selector

Package Overview
Dependencies
38
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @advanced-rest-client/oauth2-scope-selector

A selector for the OAuth scope. It provides an UI to enter a scope for the AOuth settings


Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Published on NPM

Build Status

Published on webcomponents.org

<oauth2-scope-selector>

Form element that provides the UI to enter a scope for OAuth 2.0 settings.

<oauth2-scope-selector name="scope" allowed-scopes='["email", "profile"]'></oauth2-scope-selector>

API components

This components is a part of API components ecosystem

Usage

Installation

npm install --save @advanced-rest-client/oauth2-scope-selector

In an html file

<html>
  <head>
    <script type="module">
      import '@advanced-rest-client/oauth2-scope-selector/oauth2-scope-selector.js';
    </script>
  </head>
  <body>
    <oauth2-scope-selector></oauth2-scope-selector>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@advanced-rest-client/oauth2-scope-selector/oauth2-scope-selector.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
    <oauth2-scope-selector></oauth2-scope-selector>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Installation

git clone https://github.com/advanced-rest-client/oauth2-scope-selector
cd api-url-editor
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --npm
open http://127.0.0.1:<port>/demo/

Running the tests

polymer test --npm

Keywords

FAQs

Last updated on 22 Mar 2019

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc