SMIUserVerificationDelegate
Objective-C
@protocol SMIUserVerificationDelegate <NSObject>
Swift
protocol UserVerificationDelegate : NSObjectProtocol
Delegate that handles requests for user verification.
See
SMICoreClient
-
Delegate event that is triggered when a user verification token is required to be provided by the app.
Note
To cancel you can returnnil
to the completion block. This event may still fire several times when a challenge is required even if cancelled.Declaration
Objective-C
- (void)core:(nonnull id<SMICoreClient>)core userVerificationChallengeWithReason:(SMIChallengeReason)reason completionHandler: (nonnull SMIUserVerificationChallengeCompletion) completion;
Swift
func core(_ core: any SMICoreClient, userVerificationChallengeWith reason: ChallengeReason) async -> UserVerification?
Parameters
core
The
SMICoreClient
instance that is managing the current connection.reason
The
SMIChallengeReason
which generated this user verification challenge.completion
The completion that provides a user verification token.