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) |
AccessTokenValidation |
JwtAccessTokenValidator.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
AccessTokenValidation |
AccessTokenIntrospectionClient.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 |
---|---|
javax.ws.rs.core.Response |
OAuthServiceExceptionMapper.toResponse(OAuthServiceException exception) |
Modifier and Type | Method and Description |
---|---|
ServerAccessToken |
AbstractOAuthDataProvider.createAccessToken(AccessTokenRegistration reg) |
ServerAccessToken |
OAuthDataProvider.createAccessToken(AccessTokenRegistration accessToken)
Create access token
|
ServerAccessToken |
AccessTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
UserSubject |
DefaultSubjectCreator.createUserSubject(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
UserSubject |
SubjectCreator.createUserSubject(MessageContext mc,
javax.ws.rs.core.MultivaluedMap<String,String> params)
Create a
UserSubject |
Client |
DefaultEncryptingOAuthDataProvider.doGetClient(String clientId) |
Client |
JPAOAuthDataProvider.doGetClient(String clientId) |
Client |
JCacheOAuthDataProvider.doGetClient(String clientId) |
ServerAccessToken |
DefaultEncryptingOAuthDataProvider.getAccessToken(String accessToken) |
ServerAccessToken |
JPAOAuthDataProvider.getAccessToken(String accessToken) |
ServerAccessToken |
JCacheOAuthDataProvider.getAccessToken(String accessTokenKey) |
ServerAccessToken |
OAuthDataProvider.getAccessToken(String accessToken)
Get access token
|
List<ServerAccessToken> |
OAuthDataProvider.getAccessTokens(Client client,
UserSubject subject)
Return all access tokens associated with a given client
|
Client |
OAuthDataProvider.getClient(String clientId)
Returns the previously registered third-party
Client |
ServerAccessToken |
AbstractOAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject sub,
String grantType) |
ServerAccessToken |
OAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType)
Get preauthorized access token
|
List<RefreshToken> |
OAuthDataProvider.getRefreshTokens(Client client,
UserSubject subject)
Return all refresh tokens associated with a given client
|
ServerAccessToken |
AbstractOAuthDataProvider.refreshAccessToken(Client client,
String refreshTokenKey,
List<String> restrictedScopes) |
ServerAccessToken |
OAuthDataProvider.refreshAccessToken(Client client,
String refreshToken,
List<String> requestedScopes)
Refresh access token
|
void |
AbstractOAuthDataProvider.revokeToken(Client client,
String tokenKey,
String tokenTypeHint) |
void |
OAuthDataProvider.revokeToken(Client client,
String tokenId,
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,
javax.ws.rs.core.MultivaluedMap<String,String> params)
Get the
Client reference |
protected Client |
AbstractOAuthService.getValidClient(String clientId,
String clientSecret,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
Modifier and Type | Method and Description |
---|---|
AccessTokenValidation |
HawkAccessTokenValidatorClient.validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
AccessTokenValidation |
AbstractHawkAccessTokenValidator.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 |
---|---|
static String |
OAuthUtils.generateRandomTokenKey() |
Apache CXF