MobileAuthenticationClient

public protocol MobileAuthenticationClient

The MobileAuthenticationClient protocol represents the entry point to the SDK. Your application should generally create an application scoped MobileAuthenticationClient instance, by passing in a configuration that specifies the MobileAuthenticationClient behavior. The configuration defines the URLs and TLS settings 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:

import MobileAuthenticationClient

MobileAuthenticationClientInitializer()
    .configuration(configuration)
    .onSuccess { client in ... }
    .onError { error in ... }
    .execute()
  • Returns the object that can be used to invoke operations against the server.

    Declaration

    Swift

    var operations: Operations { get }
  • Returns the object that can be used to get information about the data (authenticators, device information) managed by the SDK.

    Declaration

    Swift

    var localData: LocalData { get }