Transaction

public protocol Transaction

Performs the Challenge Flow

  • Returns device and 3DS SDK information to the 3DS Requestor App.

    Declaration

    Swift

    func getAuthenticationRequestParameters(completion: @escaping (Result<AuthenticationRequestParameters, AuthenticationError>) -> Void)

    Parameters

    completion

    Returns an AuthenticationRequestParameters object that contains device information and 3DS SDK information

  • Initiates the challenge process.

    Declaration

    Swift

    func doChallenge(challengeParameters: ChallengeParameters,
                     completion: @escaping (Result<AuthenticationResult, AuthenticationError>) -> Void)

    Parameters

    challengeParameters

    ACS details required by the 3DS SDK to conduct the challenge process during the transaction.

    messageExtension

    Details about Scheme to enable automation of the switching between the 3DS SDK and an out-of-band (OOB).

    completion

    Callback for notifying the 3DS Requestor App of the authentication outcome.

  • Releases object to free resources and become able to handle a new transaction

    Declaration

    Swift

    func close()