Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/eslint formatting #38

Merged
merged 4 commits into from
Oct 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,46 @@
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"no-underscore-dangle": ["error", {
"allow": [
"_checkExpiry",
"_urlencodedContentType",
"_jsonContentType",
"_contentType"
]
}],
"camelcase": ["error", {
"allow": [
"access_secret",
"access_token",
"client_id",
"client_secret",
"error_description",
"expires_in",
"grant_type",
"id_token",
"Intuit_name",
"intuit_tid",
"jwks_uri",
"migrate_production",
"migrate_sandbox",
"oauth_consumer_key",
"oauth_consumer_secret",
"oauth_nonce",
"oauth_signature",
"oauth_timestamp",
"oauth_token",
"oauth_version",
"redirect_uri",
"refresh_token",
"response_type",
"token_parts",
"token_type",
"user_agent",
"userinfo_endpoint_production",
"userinfo_endpoint_sandbox"
]
}]
}
}
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_js:
- 9
- 8
- 7
- 6

before_script:
- npm install
Expand Down
42 changes: 26 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,40 @@ The OAuth2 Nodejs Client library is meant to work with Intuit's [OAuth2.0](https

## Table of Contents

- [Intuit OAuth2.0 NodeJS Library](#intuit-oauth20-nodejs-library)
- [Table of Contents](#table-of-contents)
- [Requirements](#requirements)
- [Installation](#installation)
- [Using NodeJS](#using-nodejs)
- [Options :](#options)
- [Usage](#usage)
- [Authorization Code flow](#authorization-code-flow)
- [Sample](#sample)
- [Helpers](#helpers)
- [Is Access Token valid](#is-accesstoken-valid)
- [Refresh Access_Token](#refresh-access_token)
- [Refresh Access_Token by passing the refresh_token explicitly](#refresh-access_token_explicitly)
- [Revoke Access Token](#revoke-access_token)
- [Getter / Setter for Token](#getter-/-setter-for-token )
- [Auth Response](#auth-response)
- [Error Logging](#error-logging)
- [Contributing](#contributing)
- [Authors](#authors)
- [Contributors](#contributors)
- [Changelog](#changelog)
- [License](#license)
- [Authorization Code Flow](#authorization-code-flow)
- [Step 1](#step-1)
- [Scopes :](#scopes)
- [Step 2](#step-2)
- [Sample](#sample)
- [Helpers](#helpers)
- [Is AccessToken Valid](#is-accesstoken-valid)
- [Refresh access_token](#refresh-accesstoken)
- [Refresh access_token by passing the refresh_token explicitly](#refresh-accesstoken-by-passing-the-refreshtoken-explicitly)
- [Revoke access_token](#revoke-accesstoken)
- [Getter / Setter for Token](#getter--setter-for-token)
- [Retrieve the Token :](#retrieve-the-token)
- [Set the Token :](#set-the-token)
- [Migrate OAuth1.0 Tokens to OAuth2.0](#migrate-oauth10-tokens-to-oauth20)
- [Validate ID Token](#validate-id-token)
- [Auth-Response](#auth-response)
- [Error Logging](#error-logging)
- [FAQ](#faq)
- [Contributing](#contributing)
- [Steps](#steps)
- [Changelog](#changelog)
- [License](#license)


# Requirements

The Node.js client library is tested against the `Node` >= `6.0.0`
The Node.js client library is tested against the `Node` >= `7.0.0`

# Installation

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]
},
"engines": {
"node": ">=6.0.0"
"node": ">=7.0.0"
},
"repository": {
"type": "git",
Expand Down
Loading