我使用CredentiapPicker Api并且我没有在Windows 8项目的选择器中获得指纹扫描程序选项,即使我已经安装了驱动程序的指纹支持。联想为Windows 8提供了单独的驱动程序,所以它不能支持8.我做错了。
var credentialPickerOptions = new Windows.Security.Credentials.UI.CredentialPickerOptions();
credentialPickerOptions.targetName = "My App";
credentialPickerOptions.caption = "My App";
credentialPickerOptions.message = "Sign in to My App";
credentialPickerOptions.authenticationProtocol = Windows.Security.Credentials.UI.AuthenticationProtocol.basic;
credentialPickerOptions.alwaysDisplayDialog = true;
var credentialPicker = Windows.Security.Credentials.UI.CredentialPicker;
credentialPicker.pickAsync(credentialPickerOptions).done(function () {
alert("done");
});
答案 0 :(得分:0)
您不会对指纹识别器使用基本身份验证。通常,公司凭证将是谈判,kerberos或NTLM。尝试切换到那个并确保您已注册登录指纹。
除了此处记录的选项外,没有其他选项可以更改该对话框的外观:http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.credentials.ui.credentialpickeroptions.aspx