我的网络应用程序中有电子邮件链接登录设置,并且运行良好。但是,我需要在执行特定操作之前重新验证用户身份。
我正在使用以下代码重新进行身份验证:
let credential = firebase.auth.EmailAuthProvider.credentialWithLink(userEmail, window.location.href);
firebase.auth().currentUser.reauthenticateWithCredential(credential).then(function (usercred: any) {
console.log('Reauthentication test successful.');
}).catch(function (error: any) {
console.log('Reauthentication test failed.');
});
Run Code Online (Sandbox Code Playgroud)
但是,凭证每次都会抛出错误:
code: "auth/argument-error"
message: "Invalid email link!"
Run Code Online (Sandbox Code Playgroud)
即使我尝试更改 URL,情况也是如此。该 url 在控制台中获得授权,并且是 https(我最初在 localhost 上进行测试,认为这可能是问题所在)。
有任何想法吗?
我知道Firebase的实时数据库的最大同时连接数大约是100,000,但是对于Firestore来说呢?
例如,有多少用户可以主动监听文档上的文档更改?对此的"舒适"限制是什么(不仅仅是理论上的最大值)?
在 Visual Studio 中的 VB.Net 解决方案中,我有一个 ListView 和一个与该 ListView 关联的 ImageList。它被设置为LargeImageList 和SmallImageList。
这是不以编程方式更改 ImageList 的 ImageSize 属性的情况下的样子:

但是,如果我通过以下方式调整 ImageList 的大小:
ImageList1.ImageSize = New Size(64, 64)
Run Code Online (Sandbox Code Playgroud)
或任何其他尺寸,我得到这个:
之后我尝试调用ListView1.Refresh(),仍然没有。
我什至试过:
ListView1.LargeImageList.ImageSize = New Point(64, 64)
Run Code Online (Sandbox Code Playgroud)
项目运行时如何动态设置图标的大小?我需要能够将它们调整为多种尺寸(即 32x32、64x64、96x96 等)
ImageList 中的图像都是 128x128 的,这样可以更容易地缩小它们。
我正在查看以下文档以使用 Node.js Firebase 管理 SDK 创建用户:https ://firebase.google.com/docs/auth/admin/manage-users#create_a_user
但是,我想创建一个无密码(电子邮件链接)登录的用户,而不是密码。这可能吗?
如果我不为用户指定密码,会发生什么情况?
我的网络应用程序当前使用无密码登录,因此可以正常工作。
firebase ×4
.net ×1
imagelist ×1
javascript ×1
listview ×1
max ×1
node.js ×1
simultaneous ×1
vb.net ×1