KbaCreateCallback

@objc(FRKbaCreateCallback)
public class KbaCreateCallback : MultipleValuesCallback

KbaCreateCallback is a representation of OpenAM’s KbaCreateCallback which is responsible to define, and create Knowledge Based Authentication question and answer for a user.

Property

  • An array of predefined knowledge based authentication questions

    Declaration

    Swift

    @objc
    public var predefinedQuestions: [String]

Init

  • Sets a question for the user’s Knowledge Based Authentication from predefinedQuestions property in the instance property

    Declaration

    Swift

    @objc
    public func setQuestion(_ question: String)

    Parameters

    question

    String value of selected question from predefinedQuestions property

  • Sets an aswer for the user’s Knowledge Based Authentication

    Declaration

    Swift

    @objc
    public func setAnswer(_ answer: String)

    Parameters

    answer

    String value of the user input answer to the selected question