OPPThreeDS2Info

@objc
public final class OPPThreeDS2Info : NSObject

Class to represent 3-D Secure 2 parameters.

  • Protocol version of 3-D Secure 2.

    Declaration

    Swift

    @objc
    public internal(set) var protocolVersion: String? { get }
  • 3-D Secure 2 integration flow.

    Declaration

    Swift

    @objc
    public private(set) var threeDSFlow: OPPThreeDS2Flow { get }
  • Class to represent all information needed to communicate securely with Directory Server (DS) and Access Control Server (ACS).

    Declaration

    Swift

    @objc
    public private(set) var schemeConfig: OPPThreeDSSchemeConfig? { get }
  • Status of 3-D Secure 2 authentication.

    Declaration

    Swift

    @objc
    public private(set) var authStatus: OPPThreeDS2Status { get }
  • Authentication response as json string required for launching in-app challenge screens.

    Declaration

    Swift

    @objc
    public private(set) var authResponse: String? { get }
  • The callback URL string to send the params needed for 3-D Secure 2 authentication request.

    Declaration

    Swift

    @objc
    public internal(set) var callbackURL: String? { get }
  • The challenge completion callback URL string to inform Mastercard Payment Gateway Services that the challenge has been completed.

    Declaration

    Swift

    @objc
    public internal(set) var challengeCompletionCallbackUrl: String? { get }
  • Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.

    Declaration

    Swift

    @objc
    public internal(set) var cardHolderInfo: String? { get }
  • Creates 3DS info object with the provided status and authentication response.

    Declaration

    Swift

    @objc
    public init?(authStatus: OPPThreeDS2Status,
                 authResponse: String?)

    Parameters

    authStatus

    Status of 3-D Secure authentication.

    authResponse

    Authentication response as JSON string.

    Return Value

    An OPPThreeDS2Info object.

  • Creates 3DS info object with the provided status and authentication response.

    Declaration

    Swift

    @objc
    public static func threeDS2Info(authStatus: OPPThreeDS2Status,
                                    authResponse: String?) -> OPPThreeDS2Info?

    Parameters

    authStatus

    Status of 3-D Secure authentication.

    authResponse

    Authentication response as JSON string.

    Return Value

    An OPPThreeDS2Info object.

  • Returns true if in-app challenge is required, otherwise false.

    Declaration

    Swift

    @objc
    public func isChallengeRequired() -> Bool