@midware/mauth
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.12 • Public • Published

    MAuth

    Publish npm version npm downloads

    Authentication and Authorization Middleware

    Installation

    This is a Node.js module available through the npm registry.

    Before installing, download and install Node.js.

    If this is a brand new project, make sure to create a package.json first with the npm init command or yarn init command.

    Installation is done using the npm install command or yarn add command:

    $ npm install @midware/mauth

    or

    $ yarn add @midware/mauth

    Features

    • Ready to use authorization middleware
    • Ready to use authentication middleware
    • Simple implementation

    Tests

    To run the test suite, first install the dependencies, then run npm test:

    $ npm install
    $ npm test

    or

    $ yarn
    $ yarn test

    Environment Variables:

    GOOGLE_CLIENT_ID = Google Client Id AUTH_HOST = Auth host URL to get keys JWT_PRIVATE_KEY = RSA Private Key to generate JWT JWT_PUBLIC_KEY = RSA Public Key to get JWT AUTH_IDENTIFICATION = Credential id to connect to Auth host AUTH_PASSWORD = Credential KEY to connect to Auth host SERVICE_NAME = Project name INSTANCE = Project instance name

    People

    The original author of MAuth is Judah Lima

    List of all contributors

    Install

    npm i @midware/mauth

    DownloadsWeekly Downloads

    64

    Version

    0.0.12

    License

    BSD-3-Clause

    Unpacked Size

    55.8 kB

    Total Files

    75

    Last publish

    Collaborators

    • judahh