Class AuthenticationEndpoint

java.lang.Object
io.goobi.viewer.api.rest.v1.authentication.AuthenticationEndpoint

@Path("/auth") public class AuthenticationEndpoint extends Object

AuthenticationEndpoint class.

  • Constructor Details

    • AuthenticationEndpoint

      public AuthenticationEndpoint()
  • Method Details

    • authenticateUser

      @POST @Produces("application/json") @Consumes("application/x-www-form-urlencoded") public javax.ws.rs.core.Response authenticateUser(@FormParam("email") String email, @FormParam("password") String password)

      authenticateUser.

      Parameters:
      email - a String object.
      password - a String object.
      Returns:
      a Response object.
    • headerParameterLogin

      @GET @Path("/header") public javax.ws.rs.core.Response headerParameterLogin(@QueryParam("redirectUrl") String redirectUrl)
      Parameters:
      redirectUrl -
      Returns:
      Response