Package io.camunda.optimize.rest
Class AuthenticationRestService
java.lang.Object
io.camunda.optimize.rest.AuthenticationRestService
@RestController
@RequestMapping("/api/authentication")
public class AuthenticationRestService
extends Object
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationRestService(AbstractAuthenticationService authenticationService) -
Method Summary
Modifier and TypeMethodDescriptionvoidloginCallback(String code, String state, String error, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidlogoutUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
Field Details
-
AUTHENTICATION_PATH
- See Also:
-
LOGOUT
- See Also:
-
CALLBACK
- See Also:
-
-
Constructor Details
-
AuthenticationRestService
-
-
Method Details
-
loginCallback
@GetMapping(path="/callback") public void loginCallback(@RequestParam(name="code",required=false) String code, @RequestParam(name="state",required=false) String state, @RequestParam(name="error",required=false) String error, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
logoutUser
@GetMapping(path="/logout") public void logoutUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-