Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
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).
This will allow the library users to provide their own implementations of
AzureAuthorityProvider
andOAuth2UseragentValidator
, and to createAzureAuthority
with customUserAgent
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).