UNPKG

nea-helpers

Version:

Collection of helpers for developing a Nymi Enabled Application (NEA)

29 lines (24 loc) 568 B
'use strict'; const BaseEvent = require('./BaseEvent'); class RoamingAuthNonceEvent extends BaseEvent { /** * Instantiate a RoamingAuthNonce event * @param {BaseEvent} event * @param {string} nymibandNonce */ constructor (event, nymibandNonce) { super(event.getResponse(), event.getKind()); this._nymibandNonce = nymibandNonce; } /** * NymiBandNonce getter * @return {string} */ getNymiBandNonce () { return this._nymibandNonce; } } module.exports = RoamingAuthNonceEvent;