Package org.keycloak.services.resources
Class JsResource
java.lang.Object
org.keycloak.services.resources.JsResource
Get keycloak.js file for javascript clients
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getKeycloakAuthzJs
(String version) Get keycloak-authz.js file for javascript clientsjakarta.ws.rs.core.Response
getKeycloakAuthzJsWithVersion
(String version) jakarta.ws.rs.core.Response
getKeycloakAuthzMinJs
(String version) jakarta.ws.rs.core.Response
getKeycloakAuthzMinJsWithVersion
(String version) jakarta.ws.rs.core.Response
getKeycloakJs
(String version) Get keycloak.js file for javascript clientsjakarta.ws.rs.core.Response
getKeycloakJsWithVersion
(String version) jakarta.ws.rs.core.Response
getKeycloakMinJs
(String version) jakarta.ws.rs.core.Response
getKeycloakMinJsWithVersion
(String version)
-
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)
-