Package io.jans.as.client
Class OpenIdConfigurationClient
- java.lang.Object
-
- io.jans.as.client.BaseClient<OpenIdConfigurationRequest,OpenIdConfigurationResponse>
-
- io.jans.as.client.OpenIdConfigurationClient
-
public class OpenIdConfigurationClient extends BaseClient<OpenIdConfigurationRequest,OpenIdConfigurationResponse>
Encapsulates functionality to make OpenId Configuration request calls to an authorization server via REST Services.- Version:
- September 30, 2021
- 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 OpenIdConfigurationClient(java.lang.String url)
Constructs an OpenID Configuration Client by providing an url where the REST service is located.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenIdConfigurationResponse
execOpenIdConfiguration()
java.lang.String
getHttpMethod()
static OpenIdConfigurationResponse
parse(java.lang.String json)
static void
parse(java.lang.String json, OpenIdConfigurationResponse 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
-
-
-
-
Method Detail
-
getHttpMethod
public java.lang.String getHttpMethod()
- Specified by:
getHttpMethod
in classBaseClient<OpenIdConfigurationRequest,OpenIdConfigurationResponse>
-
execOpenIdConfiguration
public OpenIdConfigurationResponse execOpenIdConfiguration()
-
parse
public static void parse(java.lang.String json, OpenIdConfigurationResponse response)
-
parse
public static OpenIdConfigurationResponse parse(java.lang.String json)
-
-