BaseChallengeHandlerSwift

public class BaseChallengeHandlerSwift

BaseChallengeHandlerSwift is a base class for all challenge-handler classes.

  • Initializes a challenge handler with an arbitrary name.

    Declaration

    Swift

    public init(name: String)
  • Cancels a challenge. This method informs MobileFirst Platform Foundation that the you do not intend to take any additional actions in an attempt to resolve the challenge. This method returns control to MobileFirst Platform Foundation for further handling. For example, call this method when the user clicks on a cancel button.

    Declaration

    Swift

    public func cancel()