Showing password is stored when defaultKeyring is locked

Answered

Hello, I am storing password using PasswordSafe and retrieving it from there. My code has a functionality where when token is set by the user it shows the notification “token validated”. Suppose, the user sets the password using PasswordSafe, in the next line I am retrieving this from PasswordSafe and checking if it's empty or not. While debugging, if the user sets token, it's able to retrieve it when it sets it. The retrieving is also done in many api calls. When I run an api call, it is not able to retrieve it. My problem is that while setting it, there is no way to check if it has been set or not? 

 

 

0
2 comments

when I use passwordSafe to store, it opens up a default keyring and asks to set password. how to pause the execution in my plugin until the password is set or cancelled by the user in default keyring?

0

Hi,

I don't understand what the issue is. I don't understand the execution flow in your use case. I don't understand the use case. Please describe it and share the code snippets.

0

Please sign in to leave a comment.