I think about creating a new solution based on NATS and so far only have two open questions left.
(我考虑基于NATS创建一个新的解决方案,到目前为止只剩下两个悬而未决的问题。)
In my scenario I need clients to authenticate with the server and of the possible mechanisms user+pass, token and JWT I would like to go for tokens or (least preferred) user+pass. (在我的场景中,我需要客户端与服务器以及可能要使用的机制user + pass,令牌和JWT进行身份验证,我想使用令牌或(最不推荐的)user + pass。)
In the docs I saw that it is possible to crypt passwords and to store credentials of multiple users.
(在文档中,我看到可以加密密码并存储多个用户的凭证。)
But what I could not find is information about: (但是我找不到以下信息:)
- can tokens be stored securely ?
(令牌可以安全存储吗?)
- how can I add new users without reloading the server ?
(如何在不重新加载服务器的情况下添加新用户?)
ask by Marged translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…