| Package | Description |
|---|---|
| org.apache.cxf.rs.security.oauth2.client |
| Modifier and Type | Method and Description |
|---|---|
static String |
OAuthClientUtils.createAuthorizationHeader(OAuthClientUtils.Consumer consumer,
ClientAccessToken accessToken)
Creates OAuth Authorization header with Bearer scheme
|
static String |
OAuthClientUtils.createAuthorizationHeader(OAuthClientUtils.Consumer consumer,
ClientAccessToken accessToken,
HttpRequestProperties httpProps)
Creates OAuth Authorization header with the scheme that
may require an access to the current HTTP request properties
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(String accessTokenServiceUri,
OAuthClientUtils.Consumer consumer,
AccessTokenGrant grant,
boolean setAuthorizationHeader)
Obtains the access token from OAuth AccessToken Service
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
OAuthClientUtils.Consumer consumer,
AccessTokenGrant grant)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
OAuthClientUtils.Consumer consumer,
AccessTokenGrant grant,
boolean setAuthorizationHeader)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
Apache CXF