@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
37 lines (34 loc) • 1.15 kB
JavaScript
;
/**
* 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.
*/
export 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);
}
}
export class AppAttestationImpl extends AppAttestation {
constructor(googleCloudProjectNumber) {
super();
this.googleCloudProjectNumber = googleCloudProjectNumber;
}
}
//# sourceMappingURL=AppAttestation.js.map