Class JsResource

java.lang.Object
org.keycloak.services.resources.JsResource

@Path("/js") public class JsResource extends Object
Get keycloak.js file for javascript clients
Author:
Stian Thorgersen
  • Constructor Details

    • JsResource

      public JsResource()
  • Method Details

    • getKeycloakJs

      @GET @Path("/keycloak.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakJs(@QueryParam("version") String version)
      Get keycloak.js file for javascript clients
      Returns:
    • getKeycloakJsWithVersion

      @GET @Path("/{version}/keycloak.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakJsWithVersion(@PathParam("version") String version)
    • getKeycloakMinJs

      @GET @Path("/keycloak.min.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakMinJs(@QueryParam("version") String version)
    • getKeycloakMinJsWithVersion

      @GET @Path("/{version}/keycloak.min.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakMinJsWithVersion(@PathParam("version") String version)
    • getKeycloakAuthzJs

      @GET @Path("/keycloak-authz.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakAuthzJs(@QueryParam("version") String version)
      Get keycloak-authz.js file for javascript clients
      Returns:
    • getKeycloakAuthzJsWithVersion

      @GET @Path("/{version}/keycloak-authz.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakAuthzJsWithVersion(@PathParam("version") String version)
    • getKeycloakAuthzMinJs

      @GET @Path("/keycloak-authz.min.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakAuthzMinJs(@QueryParam("version") String version)
    • getKeycloakAuthzMinJsWithVersion

      @GET @Path("/{version}/keycloak-authz.min.js") @Produces("text/javascript; charset=utf-8") public jakarta.ws.rs.core.Response getKeycloakAuthzMinJsWithVersion(@PathParam("version") String version)