@theia-extension-tester/base-authenticator
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

base-authenticator

An authenticator interface for authenticator objects. Authenticator objects are responsible for logging in user into Eclipse Che. Used by theia-extension-tester.

Usage

Install via npm

npm install @theia-extension-tester/base-authenticator

Install via yarn

yarn add @theia-extension-tester/base-authenticator

import { Authenticator } from "@theia-extension-tester/base-authenticator";
import { SeleniumBrowser } from "extension-tester-page-objects";

class CheAuthenticator implements Authenticator {
    async authenticate() : Promise<void> {
        const driver = SeleniumBrowser.instance.driver;
        // ... log in user using SeleniumWebDriver
    }
}

Package Sidebar

Install

npm i @theia-extension-tester/base-authenticator

Weekly Downloads

9

Version

0.1.1

License

Apache-2.0

Unpacked Size

13.4 kB

Total Files

6

Last publish

Collaborators

  • mlorinc