When you call Azure DevOps Services APIs for that user, use that user's access token.Īccess tokens expire, so refresh the access token if it's expired.įor a C# example of the overall flow, see vsts-auth-samples. Use this token when you call the REST APIs from your application. For on-premises users, we recommend using Client Libraries, Windows Auth, or Personal Access Tokens (PATs) to authenticate on behalf of a user.Īuthenticate your web app users for REST API access, so your app doesn't continue to ask for usernames and passwords.Īzure DevOps Services uses the OAuth 2.0 protocol to authorize your app for a user and generate an access token. Client Libraries are a series of packages built specifically for extending Azure DevOps Server functionality. The following guidance is intended for Azure DevOps Services users since OAuth 2.0 is not supported on Azure DevOps Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |