UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

39 lines (33 loc) 858 B
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { ChannelMessage } from '../ChannelMessage'; /** * Holds the parameters of the password change call. */ export class PasswordsChangeMessage extends 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); } } //# sourceMappingURL=PasswordsChangeMessage.js.map