Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keyang/rhmap-auth
https://github.com/keyang/rhmap-auth
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/keyang/rhmap-auth
- Owner: Keyang
- Created: 2016-11-06T23:02:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-06T23:05:04.000Z (about 8 years ago)
- Last Synced: 2024-10-15T15:35:52.533Z (3 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#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
```js
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
}
}
});
```