| Package | Description |
|---|---|
| org.gcube.oidc.rest |
| Modifier and Type | Method and Description |
|---|---|
static OpenIdConnectRESTHelperException |
OpenIdConnectRESTHelperException.create(String message,
int status,
String contentType,
String textResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected static JWTToken |
OpenIdConnectRESTHelper.performQueryTokenWithPOST(URL tokenURL,
String authorization,
Map<String,List<String>> params) |
static JWTToken |
OpenIdConnectRESTHelper.queryClientToken(String clientId,
String clientSecret,
URL tokenURL)
Queries from the OIDC server an OIDC access token, by using provided clientId and client secret.
|
static JWTToken |
OpenIdConnectRESTHelper.queryUMAToken(URL tokenUrl,
String authorization,
String audience,
List<String> permissions)
Queries from the OIDC server an UMA token, by using provided access token, for the given audience (context),
in URLEncoded form or not, and optionally a list of permissions.
|
static JWTToken |
OpenIdConnectRESTHelper.queryUMAToken(URL tokenUrl,
String clientId,
String clientSecret,
String audience,
List<String> permissions)
Queries from the OIDC server an UMA token, by using provided clientId and client secret for the given audience
(context), in URLEncoded form or not, and optionally a list of permissions.
|
static JWTToken |
OpenIdConnectRESTHelper.refreshToken(URL tokenURL,
JWTToken token)
Refreshes the token from the OIDC server.
|
static JWTToken |
OpenIdConnectRESTHelper.refreshToken(URL tokenURL,
String clientId,
JWTToken token)
Refreshes the token from the OIDC server for a specific client represented by the client id.
|
static JWTToken |
OpenIdConnectRESTHelper.refreshToken(URL tokenURL,
String clientId,
String clientSecret,
JWTToken token)
Refreshes the token from the OIDC server for a specific client represented by the client id.
|
Copyright © 2022. All Rights Reserved.