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
Constructors Constructor Description BackchannelAuthenticationClient(String url)
Constructs a backchannel authentication client by providing a REST url where the backchannel authentication service is located.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackchannelAuthenticationResponse
exec()
Executes the call to the REST Service and processes the response.String
getHttpMethod()
-
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 Detail
-
BackchannelAuthenticationClient
public BackchannelAuthenticationClient(String url)
Constructs a backchannel authentication client by providing a REST url where the backchannel authentication service is located.- Parameters:
url
- The REST Service location.
-
-
Method Detail
-
getHttpMethod
public String getHttpMethod()
- Specified by:
getHttpMethod
in classBaseClient<BackchannelAuthenticationRequest,BackchannelAuthenticationResponse>
-
exec
public BackchannelAuthenticationResponse exec()
Executes the call to the REST Service and processes the response.- Returns:
- The authorization response.
-
-