OAuth2RestClient

Lean and easy to use OAuth2 enabled and Spring Boot powered REST client to interact with secured APIs

Лицензия

Лицензия

MIT
Категории

Категории

H2 Данные Базы данных Сеть OAuth2 Безопасность CLI Взаимодействие с пользователем
Группа

Группа

net.skobow
Идентификатор

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

oauth2-restclient
Последняя версия

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

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

OAuth2RestClient
Lean and easy to use OAuth2 enabled and Spring Boot powered REST client to interact with secured APIs
Ссылка на сайт

Ссылка на сайт

https://github.com/skobow/oauth2-restclient-spring-boot-starter
Организация-разработчик

Организация-разработчик

skobow
Система контроля версий

Система контроля версий

https://github.com/skobow/oauth2-restclient-spring-boot-starter

Скачать oauth2-restclient

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

<!-- https://jarcasting.com/artifacts/net.skobow/oauth2-restclient/ -->
<dependency>
    <groupId>net.skobow</groupId>
    <artifactId>oauth2-restclient</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.skobow/oauth2-restclient/
implementation 'net.skobow:oauth2-restclient:0.3.0'
// https://jarcasting.com/artifacts/net.skobow/oauth2-restclient/
implementation ("net.skobow:oauth2-restclient:0.3.0")
'net.skobow:oauth2-restclient:jar:0.3.0'
<dependency org="net.skobow" name="oauth2-restclient" rev="0.3.0">
  <artifact name="oauth2-restclient" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.skobow', module='oauth2-restclient', version='0.3.0')
)
libraryDependencies += "net.skobow" % "oauth2-restclient" % "0.3.0"
[net.skobow/oauth2-restclient "0.3.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework : spring-context jar 5.1.3.RELEASE
org.springframework : spring-web jar 5.1.3.RELEASE

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

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

OAuth2RestClient Spring Boot Starter

This project offers a lean and easy to use OAuth2 enabled and Spring Boot powered REST client to interact with secured APIs. Simply add it as a dependency to your Spring project and get OAuth2RestClient autowired.

Releases

Build Status Maven Central

Gradle

implementation 'net.skobow:oauth2-restclient-spring-boot-starter:0.3.0'

Maven

<dependency>
  <groupId>net.skobow</groupId>
  <artifactId>oauth2-restclient-spring-boot-starter</artifactId>
  <version>0.3.0</version>
  <type>pom</type>
</dependency>

Usage

To use the client simply let Spring autowire an instance to your service

import net.skobow.rest.OAuth2RestClient

public class MyService {
    
    private final OAuth2RestClient restClient;
    
    public MyService(final OAuth2RestClient restClient) {
        this.restClient = restClient;
        
        ...
    }
}

OAuth2 grant types

Currently only the Client Credentials Grant is supported.

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

Версия
0.3.0
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0