Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
Перейти к файлу
Olivier Dagenais a5fdb6f080 TDD: IOHelper.copyStream() 2016-06-29 22:04:28 -04:00
common TDD: IOHelper.copyStream() 2016-06-29 22:04:28 -04:00
config/checkstyle Add License file, enforce license header 2015-09-25 15:16:34 -04:00
core Remove unused gson dependency 2016-06-29 21:05:13 -04:00
providers Release 0.2.0 2016-06-29 12:57:43 -04:00
sample Release 0.2.0 2016-06-29 12:57:43 -04:00
storage Release 0.2.0 2016-06-29 12:57:43 -04:00
.gitattributes Txt files should also be considered text 2016-06-28 11:37:13 -04:00
.gitignore Update line ending on some text files 2016-03-04 15:30:24 -05:00
.travis.yml Update line ending on some text files 2016-03-04 15:30:24 -05:00
LICENSE.txt Remove the year in the license file. 2016-06-29 16:47:45 -04:00
README.md Update README format 2016-06-29 16:04:18 -04:00
ThirdPartyNotices.txt Update TPN to remove no longer referenced OSS components 2016-06-29 15:55:35 -04:00
pom.xml Release 0.2.0 2016-06-29 12:57:43 -04:00
settings.xml Clean up pom and add a setting file so we can deploy from build agent 2016-04-11 13:10:23 -04:00

README.md

Visual Studio Team Services Authentication Library for Java (Preview)

Retrieve OAuth2 Access Token or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.

License

The MIT license can be found in LICENSE.txt

What this library provides

This library provides:

  1. a set of authenticators in the core module that can be used to retrieve credentials in the form of OAuth2 Access Token or Personal Access Token against any Visual Studio Team Services account.
  2. a set of secure storage providers that store retrieved secrets, as well as In memory and File system backed insecure storages.
  3. a set of providers that hide the interaction between storage and authenticator, and returns authenticated client that can be used directly against Visual Studio Team Services REST APIs.

Available Secure Storage Providers:

Secret Type Windows (Credential Manager) Linux (GNOME Keyring v2.22+) Mac OSX (Keychain)
Username / Password Combo (Credential) Yes Yes Yes
OAuth2 Access/Refresh Token (TokenPair) No Yes No
VSTS Personal Access Token (Token) Yes Yes Yes

How to use this library

Please refer to the Sample App.

How to build

  1. Oracle JDK 6
  2. Maven 3.2+
  3. mvn clean verify

How can I contribute?

We welcome Pull Requests.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.