ZKKbaAnswer
Objective-C
@interface ZKKbaAnswer : NSObject
Swift
class ZKKbaAnswer : NSObject
Record containing Knowledge-Based Authentication (KBA) answer.
-
Declaration
Objective-C
- (nonnull instancetype)initWithType:(nonnull NSString *)type answer:(nonnull NSString *)answer;
Swift
init(type: String, answer: String)
-
Declaration
Objective-C
+ (nonnull instancetype)kbaAnswerWithType:(nonnull NSString *)type answer:(nonnull NSString *)answer;
-
KBA question type, e.g. “FIRST_PET_NAME”.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *type;
Swift
var type: String { get }
-
KBA answer, e.g. “Shurik”.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *answer;
Swift
var answer: String { get }