STPThreeDSCustomizationSettings
public class STPThreeDSCustomizationSettings : NSObject
STPThreeDSCustomizationSettings
provides customization options for 3DS2 authentication flows in your app.
-
Returns an
STPThreeDSCustomizationSettings
preconfigured with the default Stripe UI settings and a 10 minuteauthenticationTimeout
. @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same.Declaration
Swift
@available(*, deprecated, message: "Use STPThreeDSCustomizationSettings(﹚ instead of STPThreeDSCustomizationSettings.defaultSettings(﹚.") @objc public class func defaultSettings() -> STPThreeDSCustomizationSettings
-
uiCustomization
can be used to provide custom UI settings for the authentication challenge screens presented during a Three Domain Secure authentication. For more information see our guide on supporting 3DS2 in your iOS application. Note: It’s important to configure this object appropriately before calling anySTPPaymentHandler
APIs. The API makes a copy of the customization settings you provide; it ignores any subsequent changes you make to yourSTPThreeDSUICustomization
instance. Defaults toSTPThreeDSUICustomization.defaultSettings()
.Declaration
Swift
@objc public var uiCustomization: STPThreeDSUICustomization
-
authenticationTimeout
is the total time allowed for a user to complete a 3DS2 authentication interaction, in minutes. This value must be at least 5 minutes. Defaults to 10 minutes.Declaration
Swift
@objc public var authenticationTimeout: Int