Authenticate data providers based on different authentication backends provided by the core module

Convenience utilities that provides authentication data based on different types of authenticators from the core module

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки
Группа

Группа

com.microsoft.alm
Идентификатор

Идентификатор

auth-providers
Последняя версия

Последняя версия

0.6.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

Authenticate data providers based on different authentication backends provided by the core module
Convenience utilities that provides authentication data based on different types of authenticators from the core module

Скачать auth-providers

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.microsoft.alm/auth-providers/ -->
<dependency>
    <groupId>com.microsoft.alm</groupId>
    <artifactId>auth-providers</artifactId>
    <version>0.6.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.microsoft.alm/auth-providers/
implementation 'com.microsoft.alm:auth-providers:0.6.4'
// https://jarcasting.com/artifacts/com.microsoft.alm/auth-providers/
implementation ("com.microsoft.alm:auth-providers:0.6.4")
'com.microsoft.alm:auth-providers:jar:0.6.4'
<dependency org="com.microsoft.alm" name="auth-providers" rev="0.6.4">
  <artifact name="auth-providers" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.microsoft.alm', module='auth-providers', version='0.6.4')
)
libraryDependencies += "com.microsoft.alm" % "auth-providers" % "0.6.4"
[com.microsoft.alm/auth-providers "0.6.4"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.microsoft.alm : auth-core jar 0.6.4
org.glassfish.jersey.core : jersey-client jar 2.6
org.glassfish.jersey.connectors : jersey-apache-connector jar 2.6
org.slf4j : slf4j-api jar 1.7.19

test (3)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-nop jar 1.7.19
junit : junit jar 4.11
org.mockito : mockito-core jar 1.7

Модули Проекта

Данный проект не имеет модулей.

Visual Studio Team Services Authentication Library for Java (Preview) Build Status

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.

To learn more about Visual Studio Team Services and our Java specific tools, please visit https://java.visualstudio.com.

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) Yes (On Windows 7, 8/8.1 and 10) Yes Yes
VSTS Personal Access Token (Token) Yes Yes Yes

How to use this library

Maven is the preferred way to referencing this library.

  <dependency>
    <groupId>com.microsoft.alm</groupId>
    <artifactId>auth-providers</artifactId>
    <version>0.6.4</version>
  </dependency>

If only interested in specific modules:

  <dependency>
    <groupId>com.microsoft.alm</groupId>
    <artifactId>auth-secure-storage</artifactId>
    <version>0.6.4</version>
  </dependency>
  <dependency>
    <groupId>com.microsoft.alm</groupId>
    <artifactId>auth-core</artifactId>
    <version>0.6.4</version>
  </dependency>

Here is a Sample App that uses this library.

How to build

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

How can I contribute?

This is a preview release, please open issues and give us feedback! We also welcome Pull Requests.

License

The MIT license can be found in LICENSE.txt

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.

com.microsoft.alm

Microsoft

Open source projects and samples from Microsoft

Версии библиотеки

Версия
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.2
0.2.1