tylerstonge/encvox-client

View on GitHub
app/user.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

const NodeRSA = require('node-rsa');

module.exports = class User {
  constructor (id, username, publicKey) {
    this.id = id;
    this.username = username;
    this.publicKey = new NodeRSA(publicKey, 'public');
  }
};