UNPKG

nitrogen

Version:

Nitrogen is a platform for building connected devices. Nitrogen provides the authentication, authorization, and real time message passing framework so that you can focus on your device and application. All with a consistent development platform that lev

20 lines (15 loc) 409 B
var Principal = require('./principal') , request = require('request'); /** * User is a subclass of principal that houses all user specific principal functionality. * * @class User * @namespace nitrogen */ function User() { Principal.apply(this, arguments); this.type = 'user'; } User.prototype = Object.create(Principal.prototype); User.prototype.constructor = User; module.exports = User;