Package org.keycloak.services.resources
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 Summary
Constructors Constructor Description JsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getKeycloakAuthzJs(String version)
Get keycloak-authz.js file for javascript clientsjavax.ws.rs.core.Response
getKeycloakAuthzJsWithVersion(String version)
javax.ws.rs.core.Response
getKeycloakAuthzMinJs(String version)
javax.ws.rs.core.Response
getKeycloakAuthzMinJsWithVersion(String version)
javax.ws.rs.core.Response
getKeycloakJs(String version)
Get keycloak.js file for javascript clientsjavax.ws.rs.core.Response
getKeycloakJsWithVersion(String version)
javax.ws.rs.core.Response
getKeycloakMinJs(String version)
javax.ws.rs.core.Response
getKeycloakMinJsWithVersion(String version)
-
-
-
Method Detail
-
getKeycloakJs
@GET @Path("/keycloak.js") @Produces("text/javascript; charset=utf-8") public javax.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 javax.ws.rs.core.Response getKeycloakJsWithVersion(@PathParam("version") String version)
-
getKeycloakMinJs
@GET @Path("/keycloak.min.js") @Produces("text/javascript; charset=utf-8") public javax.ws.rs.core.Response getKeycloakMinJs(@QueryParam("version") String version)
-
getKeycloakMinJsWithVersion
@GET @Path("/{version}/keycloak.min.js") @Produces("text/javascript; charset=utf-8") public javax.ws.rs.core.Response getKeycloakMinJsWithVersion(@PathParam("version") String version)
-
getKeycloakAuthzJs
@GET @Path("/keycloak-authz.js") @Produces("text/javascript; charset=utf-8") public javax.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 javax.ws.rs.core.Response getKeycloakAuthzJsWithVersion(@PathParam("version") String version)
-
getKeycloakAuthzMinJs
@GET @Path("/keycloak-authz.min.js") @Produces("text/javascript; charset=utf-8") public javax.ws.rs.core.Response getKeycloakAuthzMinJs(@QueryParam("version") String version)
-
getKeycloakAuthzMinJsWithVersion
@GET @Path("/{version}/keycloak-authz.min.js") @Produces("text/javascript; charset=utf-8") public javax.ws.rs.core.Response getKeycloakAuthzMinJsWithVersion(@PathParam("version") String version)
-
-