UNPKG

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

Version:

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

43 lines (40 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AppAttestationImpl = exports.AppAttestation = void 0; /** * Copyright © 2025 Nevis Security AG. All rights reserved. */ /** * The configuration related to application attestation. * * If the backend (nevisFIDO) requires application attestation, you must provide this information, * so that the mobile SDK can send the required app integrity information. */ class AppAttestation { /** * The {@link https://cloud.google.com/resource-manager/docs/creating-managing-projects#before_you_begin | Google Cloud project number}. * * **IMPORTANT** \ * This property is Android specific and will be ignored by iOS native plugin. */ /** * Default constructor for {@link AppAttestation}. * * @param googleCloudProjectNumber The Google Cloud project number. * @returns the created {@link AppAttestation} instance. */ static create(googleCloudProjectNumber) { return new AppAttestationImpl(googleCloudProjectNumber); } } exports.AppAttestation = AppAttestation; class AppAttestationImpl extends AppAttestation { constructor(googleCloudProjectNumber) { super(); this.googleCloudProjectNumber = googleCloudProjectNumber; } } exports.AppAttestationImpl = AppAttestationImpl; //# sourceMappingURL=AppAttestation.js.map