ZKKbaQuestion

Objective-C

@interface ZKKbaQuestion : NSObject

Swift

class ZKKbaQuestion : NSObject

Record containing Knowledge-Based Authentication (KBA) question

  • Declaration

    Objective-C

    - (nonnull instancetype)initWithType:(nonnull NSString *)type
                                question:(nonnull NSString *)question;

    Swift

    init(type: String, question: String)
  • Declaration

    Objective-C

    + (nonnull instancetype)kbaQuestionWithType:(nonnull NSString *)type
                                       question:(nonnull NSString *)question;
  • KBA question type, e.g. “FIRST_PET_NAME”

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *type;

    Swift

    var type: String { get }
  • KBA question, e.g. “What was your first pet’s name?”

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *question;

    Swift

    var question: String { get }