authlete-java-common library β a wrapper library for the Authlete Web APIs.
Authlete is a cloud service that provides an implementation of OAuth 2.0 and OpenID Connect. Your authorization server calls the Web APIs provided by Authlete to handle the OAuth/OIDC protocol logic, and this library lets you call those Web APIs from a Java application without dealing with HTTP requests and JSON payloads directly.
What the SDK Provides
- API client interfaces for both the Core API (runtime OAuth/OIDC protocol handling) and the Management API (service, client, and token management).
- Typed request and response classes under
com.authlete.common.dtothat model every Authlete API, with JavaDoc describing the pre- and post-processing expected at each step. - Utility classes for common authorization-server tasks such as handling endpoint actions returned by Authlete.
Related Libraries and Implementations
The SDK is the foundation of Authleteβs Java integration stack:authlete-java-commonβ the core library described here.authlete-java-jaxrsβ JAX-RS (javax.*) integration built on top of the common library.authlete-java-jakartaβ the Jakarta EE (jakarta.*) counterpart ofauthlete-java-jaxrs.java-oauth-serverβ a reference authorization server implementation. It is a good starting point for your own server; see Leveraging Reference Implementations.
Installation
Add the dependency with Maven:${authlete-java-common.version}.
Resources
- Source code: github.com/authlete/authlete-java-common
- JavaDoc: authlete.github.io/authlete-java-common