TMGClient
public class TMGClient : NSObject
TMGClient is used to create the VisaCTFHelper object
which are used to bind and authenticate the vProvisionedTokenId to device for Visa.
Version
Version 1.0Since
Since 1.0-
Shared instance of the
TMGClientDeclaration
Swift
public static let sharedInstance: TMGClient -
Creates Visa Token Binding Client with the given configuration.
Declaration
Swift
public func createVisaCTFHelper(tmgClientConfiguration: TMGClientConfiguration, completion: ((_ visaCTFHelper: VisaCTFHelper?, _ error: Error?) -> Void))Parameters
tmgClientConfigurationA configuration object with mandatory parameters.
Return Value
- A
VisaCTFHelperobject, otherwise, anilis returned iftmgClientConfigurationparameter isnil. - A
TMGErrorif the device environment is not safe. Otherwise,nilis returned. Please check the logs for more information.
- A
-
To get the version of
TMGSDK.Declaration
Swift
public func getVersion() -> StringReturn Value
The version of
TMGSDKof type string.
TMGClient Class Reference