Class AuthenticationEndpoint
java.lang.Object
io.goobi.viewer.api.rest.v1.authentication.AuthenticationEndpoint
AuthenticationEndpoint class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
authenticateUser
(String email, String password) authenticateUser.javax.ws.rs.core.Response
headerParameterLogin
(String redirectUrl)
-
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.
-
headerParameterLogin
@GET @Path("/header") public javax.ws.rs.core.Response headerParameterLogin(@QueryParam("redirectUrl") String redirectUrl) - Parameters:
redirectUrl
-- Returns:
Response
-