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 -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.JsonNodestatic StringgetIntrospectionEndpoint(String issuer) static io.jans.as.model.common.IntrospectionResponsegetIntrospectionResponse(String url, String header, String token, boolean followRedirects) static io.jans.as.client.service.IntrospectionServicegetIntrospectionService(String url, boolean followRedirects) static io.jans.as.model.jwk.JSONWebKeySetgetJSONWebKeys(String jwksUri) static StringgetJwksUri(String issuer) static com.fasterxml.jackson.databind.JsonNodegetStatResponse(String url, String token, String month, String startMonth, String endMonth, String format) static io.jans.as.client.TokenResponserequestAccessToken(String tokenUrl, String clientId, String clientSecret, String scope) static io.jans.as.client.RevokeSessionResponserevokeSession(String url, String token, String userId) static jakarta.ws.rs.core.ResponserevokeToken(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
-