org.keycloak.services.resources

## Class JsResource

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

-     @Path(value="/js")
      public class JsResource
      extends Object

  Get keycloak.js file for javascript clients
  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsResource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `getJs()` Get keycloak.js file for javascript clients
    `javax.ws.rs.core.Response` | `getMinJs()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsResource

          public JsResource()

  - ### Method Detail

    - #### getJs

          @GET
          @Path(value="/keycloak.js")
          @Produces(value="text/javascript")
          public javax.ws.rs.core.Response getJs()

      Get keycloak.js file for javascript clients
      Returns:

    - #### getMinJs

          @GET
          @Path(value="/keycloak.min.js")
          @Produces(value="text/javascript")
          public javax.ws.rs.core.Response getMinJs()

Copyright © 2015. All Rights Reserved.