microsoft / vsts-authentication-library-for-java

Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
MIT License
18 stars 20 forks source link

Pluggable user agent support #23

Closed ForNeVeR closed 4 years ago

ForNeVeR commented 5 years ago

This will allow the library users to provide their own implementations of AzureAuthorityProvider and OAuth2UseragentValidator, and to create AzureAuthority with custom UserAgent if necessary (e.g. when implementing their own user agent providers).

It is critical for the DPI issue in the Azure DevOps plugin, see https://github.com/microsoft/azure-devops-intellij/issues/237 and https://github.com/microsoft/azure-devops-intellij/pull/238 for details (the latter PR shows a sample usage of the new API from this PR).

ForNeVeR commented 5 years ago

Unfortunately, looks like Travis is broken :(

ForNeVeR commented 4 years ago

We have decided to migrate to the Microsoft Authentication Library for Java, so I'm closing this pull request.