UNPKG

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

Version:

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

55 lines (48 loc) 1.58 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PasswordChangeMessage = void 0; var _OperationMessage = require("./OperationMessage"); /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ /** * Holds the parameters of the password change operation call. */ class PasswordChangeMessage extends _OperationMessage.OperationMessage { /** * The identifier of the operation. */ /** * Flag that tells whether the password changer is provided. */ /** * The username. */ /** * Flag that tells whether the success callback is provided. */ /** * Flag that tells whether the error callback is provided. */ /** * Default constructor for {@link PasswordChangeMessage}. * * @param operationId the identifier of the operation. * @param passwordChangerProvided: flag that tells whether the password changer is provided. * @param onSuccessProvided: flag that tells whether the success callback is provided. * @param onErrorProvided: flag that tells whether the error callback is provided. * @param username: the username. */ constructor(operationId, passwordChangerProvided, onSuccessProvided, onErrorProvided, username) { super(); this.operationId = operationId; this.username = username; this.passwordChangerProvided = passwordChangerProvided; this.onSuccessProvided = onSuccessProvided; this.onErrorProvided = onErrorProvided; } } exports.PasswordChangeMessage = PasswordChangeMessage; //# sourceMappingURL=PasswordChangeMessage.js.map