OPPThreeDSEventListener
@protocol OPPThreeDSEventListener <NSObject>
A protocol to handle 3D Secure workflow.
-
Called before initialization of
OPPThreeDSService
. Use this callback to provideOPPThreeDSConfig
configurations applied duringOPPThreeDSService
initialization phase.Declaration
Objective-C
- (void)onThreeDSConfigRequiredWithCompletion: (nonnull void (^)(OPPThreeDSConfig *_Nonnull))completion;
Swift
optional func onThreeDSConfigRequired() async -> OPPThreeDSConfig
Parameters
completion
The completion block you should call to continue 3D Secure transaction.
-
Called before starting the authentication process of 3D Secure transaction. Use this callback to provide UINavigationController, which will be used for 3D Secure challenge process.
Declaration
Objective-C
- (void)onThreeDSChallengeRequiredWithCompletion: (nonnull void (^)(UINavigationController *_Nonnull))completion;
Swift
optional func onThreeDSChallengeRequired() async -> UINavigationController
Parameters
completion
The completion block you should call to continue 3D Secure transaction.