Overview
-
Contains additional information about the Nevis Mobile Authentication SDK.
See moreDeclaration
Swift
public enum MetaData
-
Represents a generic version with major and minor fields.
Warning
Maximum supported version is: 65535.65535.18446744073709551615.18446744073709551615Warning
Equality is done without build number, if build number checking is needed, please useisEqualWithBuild(_:)
andisLowerThanWithBuild(_:)
.Declaration
Swift
public struct Version : Equatable, Hashable, Codable
extension Version: Comparable
extension Version: CustomStringConvertible
-
The list of constants defined by the Nevis Mobile Authentication SDK.
See moreDeclaration
Swift
@available(*, deprecated, message: "This class is deprecated and marked for removal in v3.9.0. Use `MetaData` instead.") public enum SDK
-
The
MobileAuthenticationClient
configuration. ThisConfiguration
is used to build and initialize theMobileAuthenticationClient
.Examples:
See morelet defaultConfig = Configuration(baseUrl: URL(string: "https://test.host.com")!) let configWithCustomResponsePaths = Configuration( baseUrl: URL(string: "https://test.host.com")! registrationResponsePath: "/custom/uaf/1.1/registration/" authenticationResponsePath: "/custom/uaf/1.1/authentication/" ) let authCloudConfig = Configuration(authCloudHostname: "test.host.com")
Declaration
Swift
public struct Configuration : Codable, Equatable
-
The
MobileAuthenticationClient
protocol represents the entry point to the SDK. Your application should generally create an application scopedMobileAuthenticationClient
instance, by passing in a configuration that specifies theMobileAuthenticationClient
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 theConfiguration
has already been created, here is an example usingMobileAuthenticationClientInitializer
to setup the SDK during application startup:
See moreimport MobileAuthenticationClient MobileAuthenticationClientInitializer() .configuration(configuration) .onSuccess { client in ... } .onError { error in ... } .execute()
Declaration
Swift
public protocol MobileAuthenticationClient
-
A builder for
See moreMobileAuthenticationClient
.Declaration
Swift
public final class MobileAuthenticationClientInitializer
-
A protocol that provides information about the information that is stored locally in the SDK. This includes authenticator and device information. The protocol also allows to delete the data locally.
See moreDeclaration
Swift
public protocol LocalData