Class FeiShuAuthController

java.lang.Object
com.bytedesk.core.rbac.auth.feishu.FeiShuAuthController

@RestController @RequestMapping("/auth/feishu") @Description("FeiShu OAuth Login") public class FeiShuAuthController extends Object
  • Field Details

  • Constructor Details

    • FeiShuAuthController

      public FeiShuAuthController()
  • Method Details

    • authorize

      @GetMapping("/authorize") public org.springframework.http.ResponseEntity<?> authorize(@RequestParam(value="redirectUri",required=false) String redirectUri, @RequestParam(value="state",required=false) String state, @RequestParam(value="scope",required=false) String scope)
    • login

      @PostMapping("/login") @ActionAnnotation(title="auth", action="\u5bc6\u7801\u767b\u5f55", description="Login with FeiShu Code") public org.springframework.http.ResponseEntity<?> login(@RequestBody FeiShuLoginRequest requestBody, jakarta.servlet.http.HttpServletRequest httpRequest)