UsherSDKConfiguration
@objc
public class UsherSDKConfiguration : NSObject
An instance of UsherSDKConfiguration is required to initialize the SDK. Create an instance and configure it for your application before initializing the UsherAccountSDK.
-
URL of the server.
Declaration
Swift
@objc public var serverUrl: String -
Application ID.
Declaration
Swift
@objc public var applicationId: String -
Keychain Access Group and application ID prefix. To be set for keychain sharing between apps.
Declaration
Swift
@objc public var keychainAccessGroup: String? -
iOS Application ID prefix.
Declaration
Swift
@objc public var appIDPrefix: String? -
Server certificate if certificate pinning is required. If this is not specified at initialization, requests will be done without pinning.
Declaration
Swift
@objc public var serverCertificate: SecCertificate? -
The timeout interval for the network request.
Declaration
Swift
@objc public var networkRequestTimeout: TimeInterval -
Local Authentication Policy for enabling biometrics sign in.
Declaration
Swift
@objc public var localAuthenticationPolicy: LAPolicy -
Access control constants that dictate how a keychain item may be used when attempting to authenticate the app.
Declaration
Swift
@objc public var secAccessControlCreateFlags: SecAccessControlCreateFlags -
The message describing the attempt to enable to sign in with biometrics.
Declaration
Swift
@objc public var enableBiometricSignInMessage: String -
The message describing the attempt to sign in by authenticating with biometrics.
Declaration
Swift
@objc public var biometricSignInMessage: String -
Initializer.
Declaration
Swift
@objc public init(serverUrl: String, applicationId: String)
UsherSDKConfiguration Class Reference