Class AuthClientFactory

java.lang.Object
io.jans.configapi.security.client.AuthClientFactory

@RegisterProvider(OpenIdClientService.class) @RegisterProvider(StatClient.class) @ApplicationScoped public class AuthClientFactory extends Object
  • Constructor Details

    • AuthClientFactory

      public AuthClientFactory()
  • Method Details

    • 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)
    • revokeToken

      public static jakarta.ws.rs.core.Response revokeToken(String revokeUrl, String clientId, String token, String tokenTypeHint)
    • 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)
    • revokeSession

      public static io.jans.as.client.RevokeSessionResponse revokeSession(String url, String token, String userId)