| 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.findTokenEndpointURL() |
URL |
KeycloakClient.findTokenEndpointURL()
Finds the keycloak endpoint
URL discovering it in the current scope provided by ScopeProvider |
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 discovered Keycloak server in the current scope, by using provided clientId and client secret
for the current scope 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 discovered Keycloak server 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(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.
|
Copyright © 2021. All Rights Reserved.