open-index/open-npm huggingface dataset:
npm package: @integromat/proto-oauth
Description: Integromat OAuth Proto-Classes
Author: Patrik Simek
Latest version: 2.0.2

# Integromat OAuth Proto-Classes

[![NPM Version][npm-image]][npm-url] [![Travis CI][travis-image]][travis-url]

## Installation

```sh
$ npm install @integromat/proto-oauth --save-dev
```

## Usage

```javascript
require('@integromat/proto');
require('@integromat/proto-oauth');
```

## Documentation

```js
class TestAccount extends IMTOAuth2Account {
	constructor() {
		super({
			authorizeUri: 'https://www.facebook.com/dialog/oauth',
			tokenUri: 'https://graph.facebook.com/oauth/access_token',
			infoUri: 'https://graph.facebook.com/me'
		});
	}
}
```

## License

Copyright (c) 2014-2020 Integromat

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

[npm-image]: https://img.shields.io/npm/v/imt-proto-oauth.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/imt-proto-oauth
[travis-image]: https://img.shields.io/travis/integromat/imt-proto-oauth/master.svg?style=flat-square&label=unit
[travis-url]: https://travis-ci.org/integromat/imt-proto-oauth