hermione-oauth
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

hermione-oauth

Some Remote WebDriver Servers requires OAuth authorization for each request. This plugin is useful for setting of authorization header with OAuth token.

Install

npm install hermione-oauth --save-dev

Usage

// .hermione.conf.js
module.exports = {
    // ...
    plugins: {
        "hermione-oauth": {
            enabled: true, // plugin is enabled by default
            token: "<token>", // option also accepts absolute filepath with a token
            help: "https://...", // information on where to get a token
        },
    },
};

Each plugin option can be redefined by

  • environment variable which starts with prefix hermione_oauth_, for example, hermione_oauth_token=123-456-789
  • CLI option which starts with prefix --oauth-, for example, --oauth-token=123-456-789

Readme

Keywords

Package Sidebar

Install

npm i hermione-oauth

Weekly Downloads

2

Version

2.0.0

License

UNLICENSED

Unpacked Size

12 kB

Total Files

14

Last publish

Collaborators

  • egavr