Nevis Mobile Authentication SDK React Native plugin
    Preparing search index...

    Interface MobileAuthenticationClient

    The MobileAuthenticationClient interface represents the entry point to the SDK. Your application should generally create an application scoped MobileAuthenticationClient instance, by passing in a Configuration to the MobileAuthenticationClientInitializer that specifies the MobileAuthenticationClient behavior. The configuration defines the URLs used to perform operations with a NEVIS Mobile Authentication backend.

    To create the MobileAuthenticationClient, assuming that the Configuration has already been created, here is an example using MobileAuthenticationClientInitializer to setup the SDK during application startup:

      async function createMobileAuthenticationClient(
    configuration: Configuration
    ): Promise<void> {
    await new MobileAuthenticationClientInitializer()
    .configuration(configuration)
    .onSuccess((client) => {
    // handle the MobileAuthenticationClient
    })
    .onError((_error) => {
    // handle error
    })
    .execute();
    }
    interface MobileAuthenticationClient {
        operations: Operations;
        localData: LocalData;
        deviceCapabilities: DeviceCapabilities;
    }
    Index

    Properties

    operations: Operations

    The object that can be used to invoke operations against the server.

    localData: LocalData

    The object that can be used to get information about the data (authenticators, device information) managed by the SDK.

    deviceCapabilities: DeviceCapabilities

    The object that can be used to get information about what is supported by this device (for instance whether it is compatible with full basic attestation).