UserAuthentication.Request

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

UserAuthentication.Request(reason As String, includePasscode As Boolean = False)

Supported on Mobile(iOS).

Requests that the OS display its user interface that requires the user to authenticate as being the owner of the device.

Notes

The reason parameter is text displayed to the user explaining why they are required to authenticate. The includePasscode parameter indicates whether or not the user should be allowed to enter the device passcode should the primary means of authentication (typically face or fingerprint) fail.