1.0.1 • Published 8 years ago

rhmap-auth v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

#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

    }
  }
});
1.0.1

8 years ago

1.0.0

8 years ago