@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
37 lines (31 loc) • 1.03 kB
text/typescript
/**
* Copyright © 2025 Nevis Security AG. All rights reserved.
*/
import type { OperationMessage } from './OperationMessage';
export class FidoUafAttestationInformationMessage implements OperationMessage {
/**
* The identifier of the operation.
*/
operationId: string;
/**
* Flag that tells whether the success callback is provided.
*/
onSuccessProvided: boolean;
/**
* Flag that tells whether the error callback is provided.
*/
onErrorProvided: boolean;
/**
* Default constructor for {@link FidoUafAttestationInformationMessage}.
*
* @param operationId the identifier of the operation.
* provided.
* @param onSuccessProvided flag that tells whether the success callback is provided.
* @param onErrorProvided flag that tells whether the error callback is provided.
*/
constructor(operationId: string, onSuccessProvided: boolean, onErrorProvided: boolean) {
this.operationId = operationId;
this.onSuccessProvided = onSuccessProvided;
this.onErrorProvided = onErrorProvided;
}
}