Class AuthClientFactory

    • Constructor Detail

      • AuthClientFactory

        public AuthClientFactory()
    • 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)
      • revokeSession

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