UserConsentVerifier.RequestVerificationAsync(String) Method

Definition

Performs a verification using a device such as Microsoft Passport PIN, Windows Hello, or a fingerprint reader.

public:
 static IAsyncOperation<UserConsentVerificationResult> ^ RequestVerificationAsync(Platform::String ^ message);
 static IAsyncOperation<UserConsentVerificationResult> RequestVerificationAsync(winrt::hstring const & message);
public static IAsyncOperation<UserConsentVerificationResult> RequestVerificationAsync(string message);
function requestVerificationAsync(message)
Public Shared Function RequestVerificationAsync (message As String) As IAsyncOperation(Of UserConsentVerificationResult)

Parameters

message
String

A message to display to the user for this biometric verification request.

Returns

IAsyncOperation<UserConsentVerificationResult>

A UserConsentVerificationResult value that describes the result of the biometric verification.

Remarks

You can use the RequestVerificationAsync method to request user consent for authentication. For example, you can require fingerprint authentication before authorizing an in-app purchase, or access to restricted resources. You can use the CheckAvailabilityAsync method to determine if authentication is supported for the current computer .

Applies to

See also