rhmap-auth

1.0.1 • Public • Published

RHMAP-AUTH

A library to validate RHMAP platform credentials. The lib is used in RHMAP cloud node.js app to check if credentials are in RHMAP platform.

Installation

npm install rhmap-auth --save

Usage

var rhmapAuth=require("rhmap-auth");
rhmapAuth(username,password,function(err,isValid){
  if (err){
    //error handler
  }else{
    if (isValid === true){ //user is valid
 
    }else{ // user is not valid
 
    }
  }
});

Readme

Keywords

none

Package Sidebar

Install

npm i rhmap-auth

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • keyang