| Package | Description |
|---|---|
| org.gcube.common.keycloak |
| Modifier and Type | Method and Description |
|---|---|
static KeycloakClientException |
KeycloakClientException.create(String message,
int status,
String contentType,
String textResponse) |
static KeycloakClientException |
KeycloakClientException.create(String message,
int status,
String contentType,
String textResponse,
Exception cause) |
| Modifier and Type | Method and Description |
|---|---|
URL |
DefaultKeycloakClient.computeIntrospectionEndpointURL() |
URL |
KeycloakClient.computeIntrospectionEndpointURL()
Compute the keycloak
introspection endpoint URL starting from the discovered token endpoint it in the current scope provided by ScopeProvider. |
URL |
DefaultKeycloakClient.computeIntrospectionEndpointURL(URL tokenEndpointURL) |
URL |
KeycloakClient.computeIntrospectionEndpointURL(URL tokenEndpointURL)
Compute the keycloak
introspection endpoint URL starting from the provided token endpoint. |
URL |
DefaultKeycloakClient.findTokenEndpointURL() |
URL |
KeycloakClient.findTokenEndpointURL()
|
TokenIntrospectionResponse |
DefaultKeycloakClient.introspectAccessToken(String clientId,
String clientSecret,
String accessTokenJWTString) |
TokenIntrospectionResponse |
KeycloakClient.introspectAccessToken(String clientId,
String clientSecret,
String accessTokenJWTString)
Introspects an access token against the Keycloak server discovered in the current scope.
|
TokenIntrospectionResponse |
DefaultKeycloakClient.introspectAccessToken(URL introspectionURL,
String clientId,
String clientSecret,
String accessTokenJWTString) |
TokenIntrospectionResponse |
KeycloakClient.introspectAccessToken(URL introspectionURL,
String clientId,
String clientSecret,
String accessTokenJWTString)
Introspects an access token against the Keycloak server.
|
boolean |
DefaultKeycloakClient.isAccessTokenVerified(String clientId,
String clientSecret,
String accessTokenJWTString) |
boolean |
KeycloakClient.isAccessTokenVerified(String clientId,
String clientSecret,
String accessTokenJWTString)
Verifies an access token against the Keycloak server discovered in the current scope.
|
boolean |
DefaultKeycloakClient.isAccessTokenVerified(URL introspectionURL,
String clientId,
String clientSecret,
String accessTokenJWTString) |
boolean |
KeycloakClient.isAccessTokenVerified(URL introspectionURL,
String clientId,
String clientSecret,
String accessTokenJWTString)
Verifies an access token against the Keycloak server.
|
protected TokenResponse |
DefaultKeycloakClient.performRequest(URL tokenURL,
String authorization,
Map<String,List<String>> params) |
TokenResponse |
DefaultKeycloakClient.queryOIDCToken(String clientId,
String clientSecret) |
TokenResponse |
KeycloakClient.queryOIDCToken(String clientId,
String clientSecret)
Queries an OIDC token from the Keycloak server discovered in the current scope, by using provided clientId and client secret.
|
TokenResponse |
DefaultKeycloakClient.queryOIDCToken(URL tokenURL,
String authorization) |
TokenResponse |
KeycloakClient.queryOIDCToken(URL tokenURL,
String authorization)
Queries an OIDC token from the Keycloak server, by using provided authorization.
|
TokenResponse |
DefaultKeycloakClient.queryOIDCToken(URL tokenURL,
String clientId,
String clientSecret) |
TokenResponse |
KeycloakClient.queryOIDCToken(URL tokenURL,
String clientId,
String clientSecret)
Queries an OIDC token from the Keycloak server, by using provided clientId and client secret.
|
TokenResponse |
DefaultKeycloakClient.queryUMAToken(String clientId,
String clientSecret,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(String clientId,
String clientSecret,
List<String> permissions)
Queries an UMA token from the Keycloak server discovered in the current scope, by using provided clientId and client secret
for the current scope as audience (context), in URLEncoded form or not, and optionally a list of permissions.
|
TokenResponse |
DefaultKeycloakClient.queryUMAToken(String clientId,
String clientSecret,
String audience,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(String clientId,
String clientSecret,
String audience,
List<String> permissions)
Queries an UMA token from the Keycloak server discovered in the current scope, by using provided clientId and client secret
for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.
|
TokenResponse |
DefaultKeycloakClient.queryUMAToken(TokenResponse oidcTokenResponse,
String audience,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(TokenResponse oidcTokenResponse,
String audience,
List<String> permissions)
Queries an UMA token from the Keycloak server discovered in the current scope, by using access-token provided by the
TokenResponse object
for the given audience (context), in URLEncoded form or not, and optionally a list of permissions. |
TokenResponse |
DefaultKeycloakClient.queryUMAToken(URL tokenURL,
String authorization,
String audience,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(URL tokenURL,
String authorization,
String audience,
List<String> permissions)
Queries an UMA token from the Keycloak server, by using provided authorization, for the given audience (context),
in URLEncoded form or not, and optionally a list of permissions.
|
TokenResponse |
DefaultKeycloakClient.queryUMAToken(URL tokenURL,
String clientId,
String clientSecret,
String audience,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(URL tokenURL,
String clientId,
String clientSecret,
String audience,
List<String> permissions)
Queries an UMA token from the Keycloak server, by using provided clientId and client secret for the given audience
(context), in URLEncoded form or not, and optionally a list of permissions.
|
TokenResponse |
DefaultKeycloakClient.queryUMAToken(URL tokenURL,
TokenResponse oidcTokenResponse,
String audience,
List<String> permissions) |
TokenResponse |
KeycloakClient.queryUMAToken(URL tokenURL,
TokenResponse oidcTokenResponse,
String audience,
List<String> permissions)
Queries an UMA token from the Keycloak server, by using access-token provided by the
TokenResponse object
for the given audience (context), in URLEncoded form or not, and optionally a list of permissions. |
TokenResponse |
DefaultKeycloakClient.refreshToken(String refreshTokenJWTString) |
TokenResponse |
KeycloakClient.refreshToken(String refreshTokenJWTString)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the the refresh token JWT encoded string obtained with the access token in the previous token response.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(String clientId,
String refreshTokenJWTString) |
TokenResponse |
KeycloakClient.refreshToken(String clientId,
String refreshTokenJWTString)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the provided
client id and the refresh token JWT encoded string obtained with the access token in the previous token response.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(String clientId,
String clientSecret,
String refreshTokenJWTString) |
TokenResponse |
KeycloakClient.refreshToken(String clientId,
String clientSecret,
String refreshTokenJWTString)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the provided
client id and secret and the refresh token JWT encoded string obtained with the access token in the previous
token response.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(String clientId,
String clientSecret,
TokenResponse tokenResponse) |
TokenResponse |
KeycloakClient.refreshToken(String clientId,
String clientSecret,
TokenResponse tokenResponse)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the refresh
token JWT encoded string in the token response object and the provided client id and secret.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(String clientId,
TokenResponse tokenResponse) |
TokenResponse |
KeycloakClient.refreshToken(String clientId,
TokenResponse tokenResponse)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the refresh
token JWT encoded string in the token response object and the provided client id.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(TokenResponse tokenResponse) |
TokenResponse |
KeycloakClient.refreshToken(TokenResponse tokenResponse)
Refreshes a previously issued token from the Keycloak server discovered in the current scope using the refresh
token JWT encoded string in the token response object.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(URL tokenURL,
String clientId,
String clientSecret,
String refreshTokenJWTString) |
TokenResponse |
KeycloakClient.refreshToken(URL tokenURL,
String clientId,
String clientSecret,
String refreshTokenJWTString)
Refreshes a previously issued token from the Keycloak server by using the client id and secret
and the refresh token JWT encoded string obtained with the access token in the previous token response.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(URL tokenURL,
String clientId,
String clientSecret,
TokenResponse tokenResponse) |
TokenResponse |
KeycloakClient.refreshToken(URL tokenURL,
String clientId,
String clientSecret,
TokenResponse tokenResponse)
Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the
token response object and the provided client id and secret.
|
TokenResponse |
DefaultKeycloakClient.refreshToken(URL tokenURL,
TokenResponse tokenResponse) |
TokenResponse |
KeycloakClient.refreshToken(URL tokenURL,
TokenResponse tokenResponse)
Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the
token response object.
|
Copyright © 2022. All Rights Reserved.