UNPKG

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

Version:

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

41 lines 1.65 kB
/** * Copyright © 2024 Nevis Security AG. All rights reserved. */ import { Version } from './Version'; /** * The object containing information about the * native Android Nevis Mobile Authentication SDK. */ export declare abstract class AndroidMetaData { /** * The current version of the Nevis Mobile Authentication SDK. */ abstract mobileAuthenticationVersion: Version; /** * Gives back the SHA-256 hash of the signing certificate of the application * that includes the Nevis Mobile Authentication SDK. */ abstract signingCertificateSha256: string; /** * Default constructor for {@link AndroidMetaData}. * * @param mobileAuthenticationVersion the current version of the Nevis Mobile Authentication SDK. * @param signingCertificateSha256 the SHA-256 hash of the signing certificate of the application. * @returns an {@link AndroidMetaData} instance. */ static create(mobileAuthenticationVersion: Version, signingCertificateSha256: string): AndroidMetaData; /** * Alternate constructor that creates a {@link AndroidMetaData} from a json. * * @param json contains the source for instance creation. * @returns an {@link AndroidMetaData} instance. */ static fromJson(json: any): AndroidMetaData; } export declare class AndroidMetaDataImpl extends AndroidMetaData { mobileAuthenticationVersion: Version; signingCertificateSha256: string; constructor(mobileAuthenticationVersion: Version, signingCertificateSha256: string); static fromJson(json: any): AndroidMetaDataImpl; } //# sourceMappingURL=AndroidMetaData.d.ts.map