public class KeycloakInstalled extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
KeycloakInstalled.CallbackListener |
static interface |
KeycloakInstalled.HttpResponseWriter |
| Constructor and Description |
|---|
KeycloakInstalled() |
KeycloakInstalled(InputStream config) |
KeycloakInstalled(KeycloakDeployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
KeycloakDeployment |
getDeployment() |
IDToken |
getIdToken() |
String |
getIdTokenString() |
Locale |
getLocale() |
KeycloakInstalled.HttpResponseWriter |
getLoginResponseWriter() |
KeycloakInstalled.HttpResponseWriter |
getLogoutResponseWriter() |
String |
getRefreshToken() |
AccessToken |
getToken() |
AccessTokenResponse |
getTokenResponse() |
String |
getTokenString() |
String |
getTokenString(long minValidity,
TimeUnit unit) |
boolean |
isDesktopSupported() |
void |
login() |
void |
login(PrintStream printer,
Reader reader) |
void |
loginDesktop() |
void |
loginManual() |
void |
loginManual(PrintStream printer,
Reader reader) |
void |
logout() |
void |
refreshToken() |
void |
refreshToken(String refreshToken) |
void |
setLocale(Locale locale) |
void |
setLoginResponseWriter(KeycloakInstalled.HttpResponseWriter loginResponseWriter) |
void |
setLogoutResponseWriter(KeycloakInstalled.HttpResponseWriter logoutResponseWriter) |
public KeycloakInstalled()
public KeycloakInstalled(InputStream config)
public KeycloakInstalled(KeycloakDeployment deployment)
public KeycloakInstalled.HttpResponseWriter getLoginResponseWriter()
public KeycloakInstalled.HttpResponseWriter getLogoutResponseWriter()
public void setLoginResponseWriter(KeycloakInstalled.HttpResponseWriter loginResponseWriter)
public void setLogoutResponseWriter(KeycloakInstalled.HttpResponseWriter logoutResponseWriter)
public Locale getLocale()
public void setLocale(Locale locale)
public void login()
throws IOException,
ServerRequest.HttpFailure,
org.keycloak.common.VerificationException,
InterruptedException,
OAuthErrorException,
URISyntaxException
public void login(PrintStream printer, Reader reader) throws IOException, ServerRequest.HttpFailure, org.keycloak.common.VerificationException, InterruptedException, OAuthErrorException, URISyntaxException
public void logout()
throws IOException,
InterruptedException,
URISyntaxException
public void loginDesktop()
throws IOException,
org.keycloak.common.VerificationException,
OAuthErrorException,
URISyntaxException,
ServerRequest.HttpFailure,
InterruptedException
public void loginManual()
throws IOException,
ServerRequest.HttpFailure,
org.keycloak.common.VerificationException
public void loginManual(PrintStream printer, Reader reader) throws IOException, ServerRequest.HttpFailure, org.keycloak.common.VerificationException
public String getTokenString() throws org.keycloak.common.VerificationException, IOException, ServerRequest.HttpFailure
public String getTokenString(long minValidity, TimeUnit unit) throws org.keycloak.common.VerificationException, IOException, ServerRequest.HttpFailure
public void refreshToken()
throws IOException,
ServerRequest.HttpFailure,
org.keycloak.common.VerificationException
public void refreshToken(String refreshToken) throws IOException, ServerRequest.HttpFailure, org.keycloak.common.VerificationException
public AccessToken getToken()
public IDToken getIdToken()
public String getIdTokenString()
public String getRefreshToken()
public AccessTokenResponse getTokenResponse()
public boolean isDesktopSupported()
public KeycloakDeployment getDeployment()
Copyright © 2017 JBoss by Red Hat. All rights reserved.