Modifier and Type | Method and Description |
---|---|
static String |
OAuthClientUtils.createAuthorizationHeader(ClientAccessToken accessToken)
Creates OAuth Authorization header with Bearer scheme
|
static String |
OAuthClientUtils.createAuthorizationHeader(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,
Consumer consumer,
AccessTokenGrant grant,
boolean setAuthorizationHeader)
Obtains the access token from OAuth AccessToken Service
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
AccessTokenGrant grant)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
AccessTokenGrant grant,
Map<String,String> extraParams)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
Consumer consumer,
AccessTokenGrant grant)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
Consumer consumer,
AccessTokenGrant grant,
Map<String,String> extraParams,
boolean setAuthorizationHeader)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.getAccessToken(WebClient accessTokenService,
Consumer consumer,
AccessTokenGrant grant,
Map<String,String> extraParams,
String defaultTokenType,
boolean setAuthorizationHeader)
Obtains the access token from OAuth AccessToken Service
using the initialized web client
|
static ClientAccessToken |
OAuthClientUtils.refreshAccessToken(WebClient accessTokenService,
Consumer consumer,
ClientAccessToken at,
String scope,
boolean setAuthorizationHeader) |
Modifier and Type | Method and Description |
---|---|
AccessTokenValidation |
AccessTokenValidatorClient.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
ClientCredentialsGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
JwtBearerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
ResourceOwnerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
RefreshTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
Saml2BearerGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
AbstractOAuthDataProvider.createAccessToken(AccessTokenRegistration accessToken) |
ServerAccessToken |
OAuthDataProvider.createAccessToken(AccessTokenRegistration accessToken)
Create access token
|
ServerAccessToken |
AccessTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
UserSubject |
SubjectCreator.createUserSubject(MessageContext mc)
Create a
UserSubject |
ServerAccessToken |
DefaultEHCacheOAuthDataProvider.getAccessToken(String accessToken) |
ServerAccessToken |
DefaultEncryptingOAuthDataProvider.getAccessToken(String accessToken) |
ServerAccessToken |
OAuthDataProvider.getAccessToken(String accessToken)
Get access token
|
Client |
DefaultEHCacheOAuthDataProvider.getClient(String clientId) |
Client |
DefaultEncryptingOAuthDataProvider.getClient(String clientId) |
Client |
OAuthDataProvider.getClient(String clientId)
Returns the previously registered third-party
Client |
ServerAccessToken |
AbstractOAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType) |
ServerAccessToken |
OAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType)
Get preauthorized access token
|
ServerAccessToken |
AbstractOAuthDataProvider.refreshAccessToken(Client client,
String refreshTokenKey,
List<String> requestedScopes) |
ServerAccessToken |
OAuthDataProvider.refreshAccessToken(Client client,
String refreshToken,
List<String> requestedScopes)
Refresh access token
|
void |
DefaultEHCacheOAuthDataProvider.removeAccessToken(ServerAccessToken accessToken) |
void |
DefaultEncryptingOAuthDataProvider.removeAccessToken(ServerAccessToken accessToken) |
void |
OAuthDataProvider.removeAccessToken(ServerAccessToken accessToken)
Removes the access token
The runtime will call this method if it finds that a token has expired
|
void |
AbstractOAuthDataProvider.revokeToken(Client client,
String tokenKey,
String tokenTypeHint) |
void |
OAuthDataProvider.revokeToken(Client client,
String token,
String tokenTypeHint)
Revokes a refresh or access token
|
AccessTokenValidation |
AccessTokenValidator.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
AbstractTokenService.handleException(OAuthServiceException ex,
String error) |
Modifier and Type | Method and Description |
---|---|
protected Client |
AbstractOAuthService.getValidClient(String clientId)
Get the
Client reference |
Modifier and Type | Method and Description |
---|---|
AccessTokenValidation |
AbstractHawkAccessTokenValidator.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
AccessTokenValidation |
HawkAccessTokenValidatorClient.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
void |
NonceVerifier.verifyNonce(String tokenKey,
String clientNonce,
String clientTimestamp) |
void |
NonceVerifierImpl.verifyNonce(String tokenKey,
String clientNonceString,
String clientTimestampString) |
Modifier and Type | Method and Description |
---|---|
AccessTokenValidation |
AbstactJwtAccessTokenValidator.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
Modifier and Type | Method and Description |
---|---|
static String |
OAuthUtils.generateRandomTokenKey() |
Apache CXF