2.0.0 • Published 6 years ago

@api-components/oauth2-scope-selector v2.0.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
6 years ago

Published on NPM

Build Status

<oauth2-scope-selector>

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

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

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>

Deveopment

git clone https://github.com/advanced-rest-client/oauth2-scope-selector
cd oauth2-scope-selector
npm install

Running the demo locally

npm start

Running the tests

npm test

API components

This components is a part of API components ecosystem