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