TMGClient
public class TMGClient
The TMGClient is used to create instances of VisaCTFHelper and MastercardTAFHelper.
These instances are utilized to bind and authenticate vProvisionedTokenId to the device for Visa or Mastercard.
Version
Version 3.0Since
Since 3.0-
Shared instance of the
TMGClientDeclaration
Swift
public static let sharedInstance: TMGClient -
The version of
TMGSDK.Version
Version 3.0Since
Since 3.0Declaration
Swift
public var version: String { get } -
Creates a Visa Token Binding Client with the given configuration.
Throws
TMGError: When an error occurs during the configuration process.- Possible errors:
Declaration
Swift
public func createVisaCTFHelper(withConfiguration configuration: TMGClientConfiguration) throws -> VisaCTFHelperParameters
withConfigurationA configuration object with mandatory parameters.
Return Value
- A
VisaCTFHelperobject.
-
Creates Mastercard Token Binding Client with the given configuration.
Throws
TMGError: When an error occurs during the configuration process.- Possible errors:
Declaration
Swift
public func createMastercardTAFHelper(withConfiguration configuration: TMGClientConfiguration) throws -> MastercardTAFHelperParameters
configurationA configuration object with mandatory parameters.
Return Value
- A
MastercardTAFHelperobject.
-
The protocol contains all functions to the app integrators to interact with
SecureLog.Declaration
Swift
public static var secureLog: SecureLog? { get }
TMGClient Class Reference