Prepares data to be sent by the 3DS Server.
public func getAuthRequest() throws -> String
After calling this method, the returned data must be transmitted via a separate secure channel to the server where 3DS Server is being used.
The following properties are required before calling the method:
|DeviceParams||Contains device information parameters. Add parameters via AddDeviceParam.|
|DirectoryServerCert||Used to encrypt the device parameters.|
|DirectoryServerId||Identifies the DirectoryServerCert within the directory server.|
|SDKAppId||A UUID for the specific installation.|
|SDKReferenceNumber||An Id assigned by EMVCo to identify the vendor and software version.|
Calling this method returns required information used by 3DS Server to send the authentication request. Transmit the value returned by this method to the system where 3DS Server is used. The method used to transmit this value is outside the scope of the class.
Error Handling (C++)
This method returns a String value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.