DeviceAuthentication

public class DeviceAuthentication

DeviceAuthentication is used to authenticate the device.

Version

Version 3.0

Since

Since 3.0
  • Gets the biometric supporting status of the device.

    Declaration

    Swift

    public static var isBiometricSupported: Bool { get }

    Return Value

    • A boolean true value if the device supports biometric. Otherwise, a boolean false value is returned.

  • Starts the device authentication process with the inputs provided.

    Declaration

    Swift

    public func startAuthentication(withMessage message: String)

    Parameters

    message

    The message to display when device authentication show up.

  • Cancels the device authentication process.

    Declaration

    Swift

    public func cancel()