public class HTTPWithOIDCAuthEventSender extends Object implements EventSender
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPWithOIDCAuthEventSender.HTTPGet |
class |
HTTPWithOIDCAuthEventSender.HTTPPost |
class |
HTTPWithOIDCAuthEventSender.HTTPVerb |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
HTTPWithOIDCAuthEventSender(URL baseEndpointURL,
String clientId,
String clientSecret,
URL tokenURL) |
| Modifier and Type | Method and Description |
|---|---|
protected org.gcube.oidc.rest.JWTToken |
getAuthorizationToken() |
protected URL |
getTokenURL() |
org.json.simple.JSONObject |
retrive(String id) |
void |
send(Event event) |
String |
sendAndGetResult(Event event) |
public void send(Event event)
send in interface EventSenderpublic String sendAndGetResult(Event event)
sendAndGetResult in interface EventSenderpublic org.json.simple.JSONObject retrive(String id)
retrive in interface EventSenderprotected URL getTokenURL()
protected org.gcube.oidc.rest.JWTToken getAuthorizationToken()
throws org.gcube.oidc.rest.OpenIdConnectRESTHelperException
org.gcube.oidc.rest.OpenIdConnectRESTHelperExceptionCopyright © 2021. All Rights Reserved.