public class KeycloakInstalled extends Object
Modifier and Type | Class and Description |
---|---|
class |
KeycloakInstalled.CallbackListener |
Constructor and Description |
---|
KeycloakInstalled() |
KeycloakInstalled(InputStream config) |
Modifier and Type | Method and Description |
---|---|
KeycloakDeployment |
getDeployment() |
IDToken |
getIdToken() |
String |
getIdTokenString() |
String |
getRefreshToken() |
AccessToken |
getToken() |
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() |
public KeycloakInstalled()
public KeycloakInstalled(InputStream config)
public void login() throws IOException, ServerRequest.HttpFailure, VerificationException, InterruptedException, OAuthErrorException, URISyntaxException
public void login(PrintStream printer, Reader reader) throws IOException, ServerRequest.HttpFailure, VerificationException, InterruptedException, OAuthErrorException, URISyntaxException
public void logout() throws IOException, InterruptedException, URISyntaxException
public void loginDesktop() throws IOException, VerificationException, OAuthErrorException, URISyntaxException, ServerRequest.HttpFailure, InterruptedException
public void loginManual() throws IOException, ServerRequest.HttpFailure, VerificationException
public void loginManual(PrintStream printer, Reader reader) throws IOException, ServerRequest.HttpFailure, VerificationException
public String getTokenString() throws VerificationException, IOException, ServerRequest.HttpFailure
public String getTokenString(long minValidity, TimeUnit unit) throws VerificationException, IOException, ServerRequest.HttpFailure
public void refreshToken() throws IOException, ServerRequest.HttpFailure, VerificationException
public AccessToken getToken()
public IDToken getIdToken()
public String getIdTokenString()
public String getRefreshToken()
public boolean isDesktopSupported()
public KeycloakDeployment getDeployment()
Copyright © 2015. All Rights Reserved.