/n software 3-D Secure V2 Python Edition

Questions / Feedback?

get_auth_request Method

Prepares data to be sent by the 3DS Server.


def get_auth_request() -> str: ...


on_get_auth_request encrypts the device info and prepares all the data necessary to be sent by the 3DS Server class in the send_auth_request method.

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:

device_params Contains device information parameters. Add parameters via add_device_param.
directory_server_cert Used to encrypt the device parameters.
directory_server_id Identifies the directory_server_cert within the directory server.
sdk_app_id 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.

See send_auth_request for details on sending the authentication request after transmitting the data to the 3DS Server.

Calling this method also populates sdk_transaction_id which uniquely identifies this transaction and must be used in subsequent calls relating to this transaction, such as send_challenge_request.

Copyright (c) 2021 /n software inc. - All rights reserved.
/n software 3-D Secure V2 Python Edition - Version 2.0 [Build 7722]