@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
43 lines (38 loc) • 939 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.PinsChangeMessage = void 0;
var _ChannelMessage = require("../ChannelMessage");
/**
* Copyright © 2023-2024 Nevis Security AG. All rights reserved.
*/
/**
* Holds the parameters of the PIN change call.
*/
class PinsChangeMessage extends _ChannelMessage.ChannelMessage {
/**
* The identifier of the operation.
*/
/**
* The old PIN.
*/
/**
* The new PIN.
*/
/**
* Default constructor for {@link PinsChangeMessage}.
*
* @param operationId the identifier of the operation.
* @param oldPin the old PIN.
* @param newPin the new PIN.
*/
constructor(operationId, oldPin, newPin) {
super();
this.operationId = operationId;
this.oldPin = Array.from(oldPin);
this.newPin = Array.from(newPin);
}
}
exports.PinsChangeMessage = PinsChangeMessage;
//# sourceMappingURL=PinsChangeMessage.js.map
;