UNPKG

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

Version:

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

49 lines (42 loc) 1.53 kB
"use strict"; /** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { HttpOperationMessage } from './HttpOperationMessage'; import { TypedDeviceInformationMismatch } from '../../typed/TypedDeviceInformationMismatch'; /** * Holds the parameters of the device information sync platform channel call. */ export class DeviceInformationSyncMessage extends 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.create); } } } //# sourceMappingURL=DeviceInformationSyncMessage.js.map