| Package | Description |
|---|---|
| org.gcube.common.keycloak |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultKeycloakClient |
| Modifier and Type | Method and Description |
|---|---|
KeycloakClient |
KeycloakClient.addDynamicScope(String dynamicScope,
String value)
Adds the dynamic scope to the list of scopes to use for the next OIDC token
requests
|
KeycloakClient |
DefaultKeycloakClient.addDynamicScope(String dynamicScope,
String value) |
KeycloakClient |
KeycloakClient.addScopes(List<String> scopes)
Adds the provided OIDC scopes to the list of scopes to use for the next OIDC
token requests
|
KeycloakClient |
DefaultKeycloakClient.addScopes(List<String> scopes) |
static KeycloakClient |
KeycloakClientFactory.newInstance() |
KeycloakClient |
KeycloakClient.removeAllScopes()
Removes all the custom OIDC scopes from the list of scopes to use the next
OIDC token requests
|
KeycloakClient |
DefaultKeycloakClient.removeAllScopes() |
KeycloakClient |
KeycloakClient.removeScopes(List<String> scopes)
Removes the provided OIDC scopes from the list of scopes to use for the next
OIDC token requests
|
KeycloakClient |
DefaultKeycloakClient.removeScopes(List<String> scopes) |
KeycloakClient |
KeycloakClient.useDynamicScopeInsteadOfCustomHeaderForContextRestricion(boolean useDynamicScopeInsteadOfCustomHeaderForContextRestricion)
Sets a flag to use dynamic scope (
D4S_DYNAMIC_SCOPE_NAME =
"d4s-context") instead of custom header
(D4S_CONTEXT_HEADER_NAME = "x-d4science-context")
when an OIDC token with context is used |
KeycloakClient |
DefaultKeycloakClient.useDynamicScopeInsteadOfCustomHeaderForContextRestricion(boolean useDynamicScopeInsteadOfCustomHeaderForContextRestricion) |
KeycloakClient |
KeycloakClient.useScopes(List<String> scopes)
Replaces the list of the provided OIDC scopes for the next OIDC token
requests
|
KeycloakClient |
DefaultKeycloakClient.useScopes(List<String> scopes) |
Copyright © 2025. All rights reserved.