UNPKG

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

Version:

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

53 lines (47 loc) 1.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeviceInformationSyncMessage = void 0; var _HttpOperationMessage = require("./HttpOperationMessage"); var _TypedDeviceInformationMismatch = require("../../typed/TypedDeviceInformationMismatch"); /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ /** * Holds the parameters of the device information sync platform channel call. */ class DeviceInformationSyncMessage extends _HttpOperationMessage.HttpOperationMessage { /** * The identifier of the operation. */ /** * Specifies the additional request headers that must be included in the HTTP requests sent by * the operation. */ /** * Specifies the configuration mismatches to be fixed. */ /** * Flag that tells whether the result callback is provided. */ /** * Default constructor for {@link DeviceInformationSyncMessage}. * * @param operationId the identifier of the operation. * @param requestHeaders the additional request headers that must be included in the HTTP requests sent by the operation. * @param mismatches the configuration mismatches to be fixed. * @param onResultProvided the flag that tells whether the result callback is provided. */ constructor(operationId, onResultProvided, mismatches, requestHeaders) { super(); this.operationId = operationId; this.onResultProvided = onResultProvided; this.requestHeaders = requestHeaders; if (mismatches) { this.mismatches = mismatches.map(_TypedDeviceInformationMismatch.TypedDeviceInformationMismatch.create); } } } exports.DeviceInformationSyncMessage = DeviceInformationSyncMessage; //# sourceMappingURL=DeviceInformationSyncMessage.js.map