public interface OAuth2WebClient extends WebClient
WebClientOAuth2.
 
 This client wraps a WebClient and makes it session aware adding features to it:
 
access_token if no user is createdaccess_token if current user is expired| Modifier and Type | Method and Description | 
|---|---|
| static OAuth2WebClient | create(WebClient webClient,
      OAuth2Auth oAuth2Auth)Create a session aware web client using the provided  webClientinstance. | 
| static OAuth2WebClient | create(WebClient webClient,
      OAuth2Auth oAuth2Auth,
      OAuth2WebClientOptions options)Create a session aware web client using the provided  webClientinstance. | 
| User | getUser()Get the authenticated user (if any) that is associated with this client. | 
| OAuth2WebClient | withCredentials(Credentials credentials)Mark that request should be dispatched with authentication obtained from passed  OAuth2Authprovider | 
close, create, create, delete, delete, delete, delete, delete, delete, deleteAbs, deleteAbs, get, get, get, get, get, get, getAbs, getAbs, head, head, head, head, head, head, headAbs, headAbs, patch, patch, patch, patch, patch, patch, patchAbs, patchAbs, post, post, post, post, post, post, postAbs, postAbs, put, put, put, put, put, put, putAbs, putAbs, request, request, request, request, request, request, request, request, request, request, request, request, request, request, requestAbs, requestAbs, requestAbs, requestAbs, updateSSLOptions, updateSSLOptions, updateSSLOptions, updateSSLOptions, wrap, wrapstatic OAuth2WebClient create(WebClient webClient, OAuth2Auth oAuth2Auth)
webClient instance.webClient - the web client instanceoAuth2Auth - Configured oAuth2Auth provider to be used when withCredentials(Credentials) usedstatic OAuth2WebClient create(WebClient webClient, OAuth2Auth oAuth2Auth, OAuth2WebClientOptions options)
webClient instance.webClient - the web client instanceoAuth2Auth - Configured oAuth2Auth provider to be used when withCredentials(Credentials) usedoptions - extra configuration for this objectOAuth2WebClient withCredentials(Credentials credentials)
OAuth2Auth providerUser getUser()
Copyright © 2025 Eclipse. All rights reserved.