SudoIdentityVerificationClient

public protocol SudoIdentityVerificationClient : AnyObject

Protocol encapsulating a set of functions for identity verification..

Sign-In Delegate

  • setSignInDelegate(_:) Asynchronous

    Sets an optional delegate to handle sign-in when operations are attempted while not signed in.

    When set, all operations (except subscriptions and initialization) will check sign-in status and invoke the delegate’s signIn() method if the user is not signed in. The delegate should handle the sign-in process and throw an error if sign-in fails or is cancelled. If the delegate throws an error, that error will be propagated to the caller and the original operation will not be executed.

    Declaration

    Swift

    func setSignInDelegate(_ delegate: SudoPlatformSignInDelegate?) async

    Parameters

    delegate

    A delegate conforming to SudoPlatformSignInDelegate. Pass nil to disable sign-in checking.