HotpEnrollment

public final class HotpEnrollment: EnrollmentProtocol

The enrollment for coumter based one-time password.

  • Initializes a new HotpEnrollment.

    Declaration

    Swift

    public required init()
  • The name of the enrollment.

    Declaration

    Swift

    public var name: String
  • The identifier of the enrollment.

    Remark

    The identifier value is: urn:ibm:security:authentication:asf:mechanism:hotp.

    Declaration

    Swift

    public var identifier: String
  • The type of the enrollment challenge.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public func serializeToJson() -> String