UserPresenceEnrollment

public final class UserPresenceEnrollment : ScimEnrollmentProtocol

The enrollment for simple user-presence.

  • Initializes a new UserPresenceEnrollment.

    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:mobile_user_approval:user_presence.

    Declaration

    Swift

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

    Declaration

    Swift

    public var type: String
  • The algorith used to sign data.

    Declaration

    Swift

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

    Declaration

    Swift

    public var method: String
  • Additional attributes for enrolling in SCIM interface.

    Declaration

    Swift

    public var queryString: String
  • A name that can be used to identify the key handle.

    Declaration

    Swift

    public var keyHandle: String = "key_handle_1"
  • The public key used to be stored.

    Declaration

    Swift

    public var publicKey: String = ""
  • Flag to indicate whether the enrollment challenge is enabled.‌

    Declaration

    Swift

    public var enabled: Bool = true
  • Serialize the object to a JSON string.

    Declaration

    Swift

    public func serializeToJson() -> String