简体   繁体   中英

Is there anyway we can authenticate to dev.azure.com using username and password and create and update bugs (C# Asp.net)?

I tried https://docs.microsoft.com/en-us/azure/devops/integrate/quickstarts/create-bug-quickstart?view=azure-devops but there is a problem, it only uses personal access token to authenticate the user.

But in my case, I want the user to enter mail id and password, and then the authentication process should continue.

Thereafter, user can create or update bugs in the VSO or TFS using C# Asp.net

When you try to connect with the following code (an empty VssClientCredentials() ):

vssConnection connection = new VssConnection(new Uri(azureDevOpsOrganizationUrl), new VssClientCredentials());

It's prompt for credentials:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM