Class AuthResource


  • @Path("admin-api/auth")
    @Consumes("application/json")
    @Produces("application/json")
    public class AuthResource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getCurrentUser()  
      jakarta.ws.rs.core.Response login​(LoginRequest request)  
      jakarta.ws.rs.core.Response logout()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthResource

        public AuthResource()
    • Method Detail

      • getCurrentUser

        @GET
        @Path("me")
        public jakarta.ws.rs.core.Response getCurrentUser()
      • login

        @POST
        @Path("login")
        public jakarta.ws.rs.core.Response login​(LoginRequest request)
      • logout

        @POST
        @Path("logout")
        public jakarta.ws.rs.core.Response logout()