| Modifier and Type | Method and Description |
|---|---|
Client |
AccessTokenRegistration.getClient()
Returns the
Client instance |
Client |
ServerAccessToken.getClient()
Returns the Client associated with this token
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessTokenRegistration.setClient(Client client)
Sets the
Client instance |
| Constructor and Description |
|---|
ServerAccessToken(Client client,
String tokenType,
String tokenKey,
long expiresIn,
long issuedAt) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractGrantHandler.checkIfGrantSupported(Client client)
Deprecated.
|
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScope) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScope,
String audience) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScope) |
protected ServerAccessToken |
AbstractGrantHandler.doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScope,
String audience) |
| 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 |
|---|---|
Client |
AuthorizationCodeRegistration.getClient()
Gets
Client reference |
Client |
ServerAuthorizationCodeGrant.getClient()
Returns the reference to
Client |
| Modifier and Type | Method and Description |
|---|---|
ServerAccessToken |
AuthorizationCodeGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
void |
AuthorizationCodeRegistration.setClient(Client client)
Sets the
Client reference |
| Constructor and Description |
|---|
ServerAuthorizationCodeGrant(Client client,
long lifetime) |
ServerAuthorizationCodeGrant(Client client,
String code,
long lifetime,
long issuedAt) |
| 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 |
|---|---|
Client |
OAuthDataProvider.getClient(String clientId)
Returns the previously registered third-party
Client |
| Modifier and Type | Method and Description |
|---|---|
List<OAuthPermission> |
OAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScope)
Converts the requested scope to the list of permissions
|
ServerAccessToken |
AccessTokenGrantHandler.createAccessToken(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params) |
ServerAccessToken |
OAuthDataProvider.getPreauthorizedToken(Client client,
List<String> requestedScopes,
UserSubject subject,
String grantType)
Get preauthorized access token
|
ServerAccessToken |
OAuthDataProvider.refreshAccessToken(Client client,
String refreshToken,
List<String> requestedScopes)
Refresh access token
|
| Modifier and Type | Method and Description |
|---|---|
protected Client |
RedirectionBasedGrantService.getClient(javax.ws.rs.core.MultivaluedMap<String,String> params)
Get the
Client reference |
protected Client |
AccessTokenService.getClient(String clientId)
Get the
Client reference |
protected Client |
AbstractOAuthService.getValidClient(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected Client |
AbstractOAuthService.getValidClient(String clientId)
Get the
Client reference |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AuthorizationCodeGrantService.canRedirectUriBeEmpty(Client c) |
protected boolean |
ImplicitGrantService.canRedirectUriBeEmpty(Client c) |
protected abstract boolean |
RedirectionBasedGrantService.canRedirectUriBeEmpty(Client c) |
protected boolean |
AuthorizationCodeGrantService.canSupportPublicClient(Client c) |
protected boolean |
ImplicitGrantService.canSupportPublicClient(Client c) |
protected abstract boolean |
RedirectionBasedGrantService.canSupportPublicClient(Client c) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
List<OAuthPermission> perms)
Create the authorization challenge data
|
protected javax.ws.rs.core.Response |
AuthorizationCodeGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preauthorizedToken) |
protected javax.ws.rs.core.Response |
ImplicitGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected abstract javax.ws.rs.core.Response |
RedirectionBasedGrantService.createGrant(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
String redirectUri,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected String |
RedirectionBasedGrantService.validateRedirectUri(Client client,
String redirectUri) |
| Constructor and Description |
|---|
BearerAccessToken(Client client,
long lifetime) |
BearerAccessToken(Client client,
String tokenKey,
long lifetime,
long issuedAt) |
| Constructor and Description |
|---|
MacAccessToken(Client client,
HmacAlgorithm macAlgo,
long lifetime) |
MacAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
long lifetime,
long issuedAt) |
MacAccessToken(Client client,
HmacAlgorithm algo,
String tokenKey,
String macKey,
long lifetime,
long issuedAt) |
MacAccessToken(Client client,
long lifetime) |
MacAccessToken(Client client,
String macAuthAlgo,
long lifetime) |
| Constructor and Description |
|---|
RefreshToken(Client client,
long lifetime) |
RefreshToken(Client client,
String tokenKey,
long lifetime,
long issuedAt) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
OAuthUtils.getRequestedScopes(Client client,
String scopeParameter,
boolean partialMatchScopeValidation) |
static boolean |
OAuthUtils.isGrantSupportedForClient(Client client,
boolean canSupportPublicClients,
String grantType) |
Apache CXF