STPThreeDSCustomizationSettings
@interface 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
.Declaration
Objective-C
+ (nonnull instancetype)defaultSettings;
Swift
class func `default`() -> Self
-
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 any
STPPaymentHandler
APIs. The API makes a copy of the customization settings you provide; it ignores any subsequent changes you make to yourSTPThreeDSUICustomization
instance.Defaults to
[STPThreeDSUICustomization defaultSettings]
.Declaration
Objective-C
@property (assign, readwrite, nonatomic) STPThreeDSUICustomization *_Nonnull uiCustomization;
Swift
var uiCustomization: STPThreeDSUICustomization { get set }
-
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 5 minutes.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger authenticationTimeout;
Swift
var authenticationTimeout: Int { get set }