Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.94 KB

userconsentverifier_requestverificationasync_1054783001.md

File metadata and controls

30 lines (21 loc) · 1.94 KB
-api-id -api-type
M:Windows.Security.Credentials.UI.UserConsentVerifier.RequestVerificationAsync(System.String)
winrt method

Windows.Security.Credentials.UI.UserConsentVerifier.RequestVerificationAsync

-description

Performs a verification using an authentication device such as Microsoft Passport PIN, Windows Hello, or a fingerprint reader. This API is for Universal Windows Platform (UWP) apps. The alternative API to use for a desktop app is described in Examples in UserConsentVerifier class.

-parameters

-param message

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

-returns

A UserConsentVerificationResult value that describes the result of the verification.

-remarks

You can use the RequestVerificationAsync method to request user consent for a sensitive operation. For example, you can require device 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 user.

-examples

See Examples in UserConsentVerifier class.

-see-also

UserConsentVerifier class, Fingerprint biometrics, UserConsentVerifier sample, Windows.Security.Credentials.UI, Authentication and user identity