public class DownloaderAuthenticationKeycloakRequester extends AbstractDownloaderAuthenticationRequester implements DownloaderAuthenticationRequester
config| Constructor and Description |
|---|
DownloaderAuthenticationKeycloakRequester(DownloaderAuthenticationKeycloakConfig config) |
| Modifier and Type | Method and Description |
|---|---|
DownloaderAuthenticationKeycloakConfig |
getConfig() |
DownloaderKeycloakCredentials |
getCredentials() |
boolean |
requestAuthorization(java.util.concurrent.Executor executorUI) |
void |
setCredentials(DownloaderKeycloakCredentials credentials) |
void |
stopWaitingForResponse() |
JsonObject |
userInfo(OAuth20Service service) |
void |
waitForResponse(java.util.concurrent.Executor executorUI) |
getProviderName, requestAuthorization, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProviderName, requestAuthorizationpublic DownloaderAuthenticationKeycloakRequester(DownloaderAuthenticationKeycloakConfig config)
public DownloaderAuthenticationKeycloakConfig getConfig()
getConfig in interface DownloaderAuthenticationRequestergetConfig in class AbstractDownloaderAuthenticationRequesterpublic boolean requestAuthorization(java.util.concurrent.Executor executorUI)
requestAuthorization in interface DownloaderAuthenticationRequesterpublic JsonObject userInfo(OAuth20Service service)
throws java.lang.InterruptedException,
java.io.IOException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.io.IOExceptionjava.util.concurrent.ExecutionExceptionpublic void waitForResponse(java.util.concurrent.Executor executorUI)
public void stopWaitingForResponse()
public DownloaderKeycloakCredentials getCredentials()
getCredentials in interface DownloaderAuthenticationRequesterpublic void setCredentials(DownloaderKeycloakCredentials credentials)