| 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 Keycloak server discovered 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 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(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.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 © 2021. All Rights Reserved.