Package com.thalesgroup.tmgsdk.visa
Interface IDVSession
-
public interface IDVSessionTheIDVSessionAPI is used to retrieve thevProvisionedTokenIdsession details with pending activation. This class has been renamed fromPendingBindingSessiontoIDVSession.- Since:
- 3.0.0
- Version:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivateBinding(String otp)Activates the binding with or withoutOTP.List<IDVMethod>getIdvMethods()Gets the list ofIDVMethod.IDVMethodpreviouslySelectedIdvMethod()Gets the previously selectedIDVMethod.voidselectIdvMethod(IDVMethod idvMethod)Selects theIDVMethodfor the Visa Token Binding process.
-
-
-
Method Detail
-
getIdvMethods
List<IDVMethod> getIdvMethods()
Gets the list ofIDVMethod.- Returns:
- The list of
IDVMethodthat is available.
-
selectIdvMethod
void selectIdvMethod(IDVMethod idvMethod)
Selects theIDVMethodfor the Visa Token Binding process. This method has been renamed fromsubmitIdvMethodtoselectIdvMethod.- Parameters:
idvMethod- The selectedIDVMethod. This is a mandatory input.- Since:
- 3.0
-
activateBinding
void activateBinding(@Nullable String otp)
Activates the binding with or withoutOTP. IfOTPis provided,TMGSDKwill call the server to validate it. However, if theOTPis not provided,TMGSDKdoes not call the server and activates the binding locally.- Parameters:
otp- The OTP that is used for authentication.
-
previouslySelectedIdvMethod
IDVMethod previouslySelectedIdvMethod() throws TMGClientException
Gets the previously selectedIDVMethod.- Returns:
- The previously selected
IDVMethod. - Throws:
TMGClientException- In cases where there is json parsing error.
Possible errors:
-
-