Skip to content

Commit 694a1aa

Browse files
committed
Improved README.md
1 parent 3fd019c commit 694a1aa

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ To verify that runtime dependencies are minimal, run `cd library && mvn dependen
4343

4444
## Documentation
4545

46-
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Mastercard/oauth2-client-java)
47-
[![Context7: Ask](https://img.shields.io/badge/Context7-Ask-green)](https://context7.com/mastercard/oauth2-client-java)
4846
[![Javadoc](https://javadoc.io/badge2/com.mastercard.developer/oauth2-client-java/javadoc.svg)](https://javadoc.io/doc/com.mastercard.developer/oauth2-client-java)
47+
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Mastercard/oauth2-client-java)
48+
[![Context7: Ask](https://img.shields.io/badge/Context7-Ask-green)](https://context7.com/mastercard/oauth2-client-java?tab=chat)
49+
50+
51+
A Javadoc site is available on javadoc.io. Additionally, you can use DeepWiki and Context7 to explore the library further.
4952

5053
## Usage
5154

@@ -99,9 +102,15 @@ Notes:
99102
* All credentials shown here are examples from [Using OAuth 2.0 to Access Mastercard APIs](https://mstr.cd/43CuHBY). Replace them with your own.
100103
* For more information on scope resolvers, DPoP key providers, and access token stores, see [Extension Points](#extension-points).
101104

105+
### Low-Level API
106+
107+
The [`OAuth2Handler`](./library/src/main/java/com/mastercard/developer/oauth2/core/OAuth2Handler.java) class provides public static methods that handle client assertion generation, DPoP proof creation, access token request creation and access token response parsing.
108+
102109
### Supported HTTP Clients
103110

104-
Pick the HTTP client that works best for your application. All implementations provide the same OAuth 2.0 functionality with minimal code changes.
111+
For a higher-level experience, use the provided HTTP-client related classes (interceptors, filters, or client wrappers), automatically invoking the `OAuth2Handler` logic under the hood.
112+
113+
Pick the HTTP client that works best for your application. All implementations provide the same functionality.
105114

106115
#### OkHttp
107116

0 commit comments

Comments
 (0)