azure-devops-dotnet-samples
azure-devops-dotnet-samples copied to clipboard
How to always display the sign-in prompt and do not remember password.
I use the code to display sign-in prompt, and it will automatically remember the account and password.
VssCredentials creds = new VssClientCredentials();
creds.Storage = new VssClientCredentialStorage();
VssConnection connection = new VssConnection(new Uri(collectionUri), creds);
await connection.ConnectAsync();
When I use creds.Storage.RemoveToken api, it will display sign-in prompt again, but user can choice the account to login without enter password again.
My application is on a public computer, I hope not to remember password and enter every time. How can I do it?