Class AuthClientFactory
- java.lang.Object
-
- io.jans.configapi.security.client.AuthClientFactory
-
@RegisterProvider(OpenIdClientService.class) @RegisterProvider(StatClient.class) @ApplicationScoped public class AuthClientFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNode
getHealthCheckResponse(String url)
static String
getIntrospectionEndpoint(String issuer)
static io.jans.as.model.common.IntrospectionResponse
getIntrospectionResponse(String url, String header, String token, boolean followRedirects)
static io.jans.as.client.service.IntrospectionService
getIntrospectionService(String url, boolean followRedirects)
static io.jans.as.model.jwk.JSONWebKeySet
getJSONWebKeys(String jwksUri)
static String
getJwksUri(String issuer)
static com.fasterxml.jackson.databind.JsonNode
getStatResponse(String url, String token, String month, String startMonth, String endMonth, String format)
static io.jans.as.client.TokenResponse
requestAccessToken(String tokenUrl, String clientId, String clientSecret, String scope)
-
-
-
Method Detail
-
getIntrospectionService
public static io.jans.as.client.service.IntrospectionService getIntrospectionService(String url, boolean followRedirects)
-
getIntrospectionResponse
public static io.jans.as.model.common.IntrospectionResponse getIntrospectionResponse(String url, String header, String token, boolean followRedirects)
-
getStatResponse
public static com.fasterxml.jackson.databind.JsonNode getStatResponse(String url, String token, String month, String startMonth, String endMonth, String format)
-
getHealthCheckResponse
public static com.fasterxml.jackson.databind.JsonNode getHealthCheckResponse(String url)
-
requestAccessToken
public static io.jans.as.client.TokenResponse requestAccessToken(String tokenUrl, String clientId, String clientSecret, String scope)
-
getIntrospectionEndpoint
public static String getIntrospectionEndpoint(String issuer) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getJwksUri
public static String getJwksUri(String issuer) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getJSONWebKeys
public static io.jans.as.model.jwk.JSONWebKeySet getJSONWebKeys(String jwksUri)
-
-