Package org.gcube.event.publisher
Class HTTPWithOIDCAuthEventSender
java.lang.Object
org.gcube.event.publisher.HTTPWithOIDCAuthEventSender
- All Implemented Interfaces:
EventSender
- Direct Known Subclasses:
HTTPWithUMAAuthEventSender
public class HTTPWithOIDCAuthEventSender extends Object implements EventSender
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classHTTPWithOIDCAuthEventSender.HTTPost -
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog -
Constructor Summary
Constructors Constructor Description HTTPWithOIDCAuthEventSender(URL baseEnndpointURL, String clientId, String clientSecret, URL tokenURL) -
Method Summary
Modifier and Type Method Description protected org.gcube.oidc.rest.JWTTokengetAuthorizationToken()protected URLgetTokenURL()voidsend(Event event)
-
Field Details
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
HTTPWithOIDCAuthEventSender
-
-
Method Details
-
send
- Specified by:
sendin interfaceEventSender
-
getTokenURL
-
getAuthorizationToken
protected org.gcube.oidc.rest.JWTToken getAuthorizationToken() throws org.gcube.oidc.rest.OpenIdConnectRESTHelperException- Throws:
org.gcube.oidc.rest.OpenIdConnectRESTHelperException
-