Created
May 7, 2022 16:30
-
-
Save andreas-nesheim/c20ac170f5fbdeec8bab9e6923b9b1c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = new AuthenticationRequestConfiguration("Prove you have fingers!", "Because without it you can't have access"); | |
var result = await CrossFingerprint.Current.AuthenticateAsync(request); | |
if (result.Authenticated) | |
{ | |
await DisplayAlert("Authenticated!", "Access granted", "Cool beans"); | |
} | |
else | |
{ | |
await DisplayAlert("Not authenticated!", "Access denied", "aww"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment