EnrollmentProtocol

public protocol EnrollmentProtocol

The protocol to which multi-factor authentication challenge enrollment mechanisms are derived from.

  • Initializes a new EnrollmentProtocol.

    Declaration

    Swift

    init()
  • The type of the enrollment challenge.

    Declaration

    Swift

    var type: String
  • The name of the enrollment.

    Declaration

    Swift

    var name: String
  • The identifier of the enrollment.

    Remark

    This value corresponds to the ChallengeProtocol.

    Declaration

    Swift

    var identifier: String
  • The type of HTTP method required for enrollment.

    Declaration

    Swift

    var method: String
  • Serialize the object to a JSON string.

    Declaration

    Swift

    func serializeToJson() -> String