BiometricSampleEnrollment

public final class BiometricSampleEnrollment: EnrollmentProtocol

The enrollment of a biometric sample.

Warning

Tech-preview not to be used in your code.
  • Initializes a new BiometricSampleEnrollment.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Remark

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

    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
  • The identifier of the sample. Default is 1.

    Remark

    Use the index of the array to attribute the sample identifier to the biometric engine.

    Declaration

    Swift

    public var sampleIdentifier: Int = 1
  • The biometric sample data.

    Remark

    The value is required to be in base64 format.

    Declaration

    Swift

    public var sampleData: String = ""
  • The identifier of the authenticator.

    Declaration

    Swift

    public var authenticatorIdentifier: String = ""
  • Serialize the object to a JSON string.

    Declaration

    Swift

    public func serializeToJson() -> String