| Package | Description |
|---|---|
| org.gcube.common.keycloak | |
| org.gcube.common.keycloak.model |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessToken |
ModelUtils.getAccessTokenFrom(TokenResponse tokenResponse) |
static String |
ModelUtils.getAccessTokenPayloadStringFrom(TokenResponse tokenResponse) |
static String |
ModelUtils.getAccessTokenPayloadStringFrom(TokenResponse tokenResponse,
boolean prettyPrint) |
static RefreshToken |
ModelUtils.getRefreshTokenFrom(TokenResponse tokenResponse) |
static String |
ModelUtils.getRefreshTokenPayloadStringFrom(TokenResponse tokenResponse) |
static String |
ModelUtils.getRefreshTokenPayloadStringFrom(TokenResponse tokenResponse,
boolean prettyPrint) |
Copyright © 2021. All Rights Reserved.