Package io.jans.as.client
Class BackchannelAuthenticationClient
java.lang.Object
io.jans.as.client.BaseClient<BackchannelAuthenticationRequest,BackchannelAuthenticationResponse>
io.jans.as.client.BackchannelAuthenticationClient
public class BackchannelAuthenticationClient
extends BaseClient<BackchannelAuthenticationRequest,BackchannelAuthenticationResponse>
Encapsulates functionality to make backchannel authentication request calls to an authorization server via REST Services.
- Version:
- September 4, 2019
- Author:
- Javier Rojas Blum
-
Field Summary
Fields inherited from class io.jans.as.client.BaseClient
clientResponse, executor, request, requestForm, response, resteasyClient, webTarget
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a backchannel authentication client by providing a REST url where the backchannel authentication service is located. -
Method Summary
Modifier and TypeMethodDescriptionexec()
Executes the call to the REST Service and processes the response.Methods inherited from class io.jans.as.client.BaseClient
addReqParam, addReqParam, applyCookies, closeConnection, getCookies, getExecutor, getHeaders, getRequest, getRequestAsString, getResponse, getResponseAsString, getUrl, initClient, prepareAuthorizatedClientRequest, setExecutor, setRequest, setResponse, setUrl
-
Constructor Details
-
BackchannelAuthenticationClient
Constructs a backchannel authentication client by providing a REST url where the backchannel authentication service is located.- Parameters:
url
- The REST Service location.
-
-
Method Details
-
getHttpMethod
- Specified by:
getHttpMethod
in classBaseClient<BackchannelAuthenticationRequest,
BackchannelAuthenticationResponse>
-
exec
Executes the call to the REST Service and processes the response.- Returns:
- The authorization response.
-