Class AccessServices

    • Constructor Detail

      • AccessServices

        public AccessServices()
    • Method Detail

      • authenticateUser

        @POST
        @Path("/login")
        @Produces("application/json")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response authenticateUser​(step.core.auth.Credentials credentials)
      • getServiceAccountToken

        @GET
        @Path("/service-account/token")
        @Produces("text/plain")
        public String getServiceAccountToken​(@QueryParam("lifetime")
                                             long days)
      • getAccessConfiguration

        @GET
        @Produces("application/json")
        @Path("/conf")
        public AccessConfiguration getAccessConfiguration()
      • logout

        @POST
        @Path("/logout")
        public void logout​(@Context
                           jakarta.servlet.http.HttpServletRequest req)
      • isDemo

        public boolean isDemo()