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
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.JsonNode
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) static io.jans.as.client.RevokeSessionResponse
revokeSession
(String url, String token, String userId) static jakarta.ws.rs.core.Response
revokeToken
(String revokeUrl, String clientId, String token, String tokenTypeHint)
-
Constructor Details
-
AuthClientFactory
public AuthClientFactory()
-
-
Method Details
-
getIntrospectionService
public static io.jans.as.client.service.IntrospectionService getIntrospectionService(String url, boolean followRedirects) -
getIntrospectionResponse
-
getStatResponse
-
getHealthCheckResponse
-
requestAccessToken
-
revokeToken
-
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
-
revokeSession
-