EnrollmentResult

public final class EnrollmentResult : ResultProtocol

Holds the result of the challenge enrollment.

  • The unique identifier of the enrollment. Default is nil.

    Declaration

    Swift

    public fileprivate(set) var identifier: String?
  • The type of the enrollment challenge. Default is nil.

    Declaration

    Swift

    public fileprivate(set) var type: String?
  • Additional enrollment details for a given enrollment type.

    Declaration

    Swift

    public fileprivate(set) var additionalData: [String: Any] = [:]
  • The type of error.

    Declaration

    Swift

    public fileprivate(set) var error: Error?
  • Construct an instance containing the exception.

    Declaration

    Swift

    public init(error: Error)
  • Parses the object into an EnrollmentResult.

    Throws

    IBMMobileKitError.serverError, IBMMobileKitError.unableToParseData

    Declaration

    Swift

    open static func parse(_ data: [String: Any]) throws -> EnrollmentResult