Class OAuth2RuntimeIntegrationController
java.lang.Object
com.wavemaker.runtime.auth.oauth2.OAuth2RuntimeIntegrationController
@RestController
@RequestMapping("/oauth2/{providerId}/")
public class OAuth2RuntimeIntegrationController
extends Object
Created by srujant on 18/7/17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallBack(String providerId, String redirectUrl, String code, String state, jakarta.servlet.http.HttpServletRequest httpServletRequest) getAuthorizationUrl(String providerId, String key, String requestSourceType, jakarta.servlet.http.HttpServletRequest httpServletRequest)
-
Constructor Details
-
OAuth2RuntimeIntegrationController
public OAuth2RuntimeIntegrationController()
-
-
Method Details
-
getAuthorizationUrl
@XssDisable @GetMapping("authorizationUrl") public String getAuthorizationUrl(@PathVariable("providerId") String providerId, @RequestParam(name="key",required=false) String key, @RequestParam(name="requestSourceType",required=false) String requestSourceType, jakarta.servlet.http.HttpServletRequest httpServletRequest) -
callBack
@XssDisable @GetMapping(value="callback", produces="text/html") public String callBack(@PathVariable("providerId") String providerId, @RequestParam(name="redirect_url",required=false) String redirectUrl, @RequestParam(name="code") String code, @RequestParam(name="state",required=false) String state, jakarta.servlet.http.HttpServletRequest httpServletRequest)
-