Class creds.users
- Defined in: creds.js
Constructor Attributes | Constructor Name and Description |
---|---|
creds.users(data)
stores user names and their passwords
|
Method Summary
Class Detail
creds.users(data)
stores user names and their passwords
- Parameters:
- {Object} data
- Returns:
- {creds.users}
Field Detail
<constant>
{Array}
usernames
gets a list of known user names
Method Detail
-
{Boolean} checkUser(username, password)checks if the given password matches that of the given user
- Parameters:
- {String} username
- {String} password
- Returns:
- {Boolean}