public class ServerRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerRequest.HttpFailure |
Constructor and Description |
---|
ServerRequest() |
Modifier and Type | Method and Description |
---|---|
static void |
error(int status,
HttpEntity entity) |
static AccessTokenResponse |
invokeAccessCodeToToken(KeycloakDeployment deployment,
String code,
String redirectUri,
String sessionId) |
static void |
invokeClientManagementRequest(KeycloakDeployment deployment,
String host,
String endpointUrl) |
static void |
invokeLogout(KeycloakDeployment deployment,
String refreshToken) |
static AccessTokenResponse |
invokeRefresh(KeycloakDeployment deployment,
String refreshToken) |
static void |
invokeRegisterNode(KeycloakDeployment deployment,
String host) |
static void |
invokeUnregisterNode(KeycloakDeployment deployment,
String host) |
protected static String |
stripOauthParametersFromRedirect(String uri) |
public static void invokeLogout(KeycloakDeployment deployment, String refreshToken) throws IOException, ServerRequest.HttpFailure
IOException
ServerRequest.HttpFailure
public static AccessTokenResponse invokeAccessCodeToToken(KeycloakDeployment deployment, String code, String redirectUri, String sessionId) throws IOException, ServerRequest.HttpFailure
IOException
ServerRequest.HttpFailure
public static AccessTokenResponse invokeRefresh(KeycloakDeployment deployment, String refreshToken) throws IOException, ServerRequest.HttpFailure
IOException
ServerRequest.HttpFailure
public static void invokeRegisterNode(KeycloakDeployment deployment, String host) throws ServerRequest.HttpFailure, IOException
ServerRequest.HttpFailure
IOException
public static void invokeUnregisterNode(KeycloakDeployment deployment, String host) throws ServerRequest.HttpFailure, IOException
ServerRequest.HttpFailure
IOException
public static void invokeClientManagementRequest(KeycloakDeployment deployment, String host, String endpointUrl) throws ServerRequest.HttpFailure, IOException
ServerRequest.HttpFailure
IOException
public static void error(int status, HttpEntity entity) throws ServerRequest.HttpFailure, IOException
ServerRequest.HttpFailure
IOException
Copyright © 2016 JBoss by Red Hat. All rights reserved.