Interface VisaCTFHelper


  • public interface VisaCTFHelper
    VisaCTFHelper is used to bind and authenticate vProvisionedTokenId with the device.
    • Method Detail

      • createBinding

        void createBinding​(String vProvisionedTokenId,
                           String deviceId,
                           String correlationId,
                           TokenBindingListener tokenBindingListener)
        Bind Visa Token to Device. when using this API, the whole binding process will restart from scratch. If used on an already bound token, the token will be re-bound again with a potential new end user authentication.
        Parameters:
        vProvisionedTokenId - Visa provision token id, this value is retrieved during tokenization process. Mandatory input
        deviceId - Device Identifier generated by App. Mandatory input
        correlationId - Session Id generated by App. Mandatory input
        tokenBindingListener - Callbacks for App to take action and to provide the final status of Token Binding status. Mandatory input
      • authenticateTransaction

        void authenticateTransaction​(String vProvisionedTokenId,
                                     TransactionListener transactionListener)
        Authenticate Transaction for this token.
        Parameters:
        vProvisionedTokenId - Visa provision token id. Mandatory input
        transactionListener - Callbacks for App to take action and to provide the final status of Token Binding status. Mandatory input
      • getBindingState

        BindingState getBindingState​(String vProvisionedTokenId)
                              throws TMGClientException
        Get Token Activation Status
        Parameters:
        vProvisionedTokenId - Visa provision token id. Mandatory input
        Throws:
        TMGClientException - in case of any security and parsing related errors.
      • resumeBinding

        PendingBindingSession resumeBinding​(String vProvisionedTokenId,
                                            TokenBindingListener tokenBindingListener)
        Get Token which is Pending Activation. use this method when resuming an ongoing binding session.
        Parameters:
        vProvisionedTokenId - visa provision token id.
        tokenBindingListener - Callbacks for App to provide the final status of Resume Binding process. Mandatory input.
      • removeBinding

        void removeBinding​(String correlationId,
                           String vProvisionedTokenId,
                           RemoveBindingListener removeBindingListener)
        Remove the Token from this device and server.
        Parameters:
        correlationId - Session Id generated by App. Mandatory input
        vProvisionedTokenId - visa provision token id. Mandatory input
        removeBindingListener - Callbacks for App to provide the final status of Remove Binding process. Mandatory input.
      • syncBindingState

        void syncBindingState​(String correlationId,
                              String vProvisionedTokenId,
                              SyncBindingStateListener syncBindingStateListener)
        Synchronize the binding state between client and server.
        Parameters:
        correlationId - Session Id generated by App. Mandatory input
        vProvisionedTokenId - Visa provision token id. Mandatory input
        syncBindingStateListener - Callbacks for App to provide the final status of Sync Binding process. Mandatory input.