@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
51 lines (43 loc) • 1.41 kB
JavaScript
/**
* Copyright © 2024 Nevis Security AG. All rights reserved.
*/
import { OperationMessage } from './OperationMessage';
/**
* Holds the parameters of the password change operation call.
*/
export class PasswordChangeMessage extends 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;
}
}
//# sourceMappingURL=PasswordChangeMessage.js.map
;