Class WeChatAuthController
java.lang.Object
com.bytedesk.core.rbac.auth.wechat.WeChatAuthController
@RestController
@RequestMapping("/auth/wechat")
@Description("WeChat OAuth Login")
public class WeChatAuthController
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AuthServiceprivate final WeChatOAuthServiceprivate final WeChatPropertiesprivate final UserService -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
properties
-
oAuthService
-
userService
-
authService
-
-
Constructor Details
-
WeChatAuthController
public WeChatAuthController()
-
-
Method Details
-
authorize
-
login
@PostMapping("/login") @ActionAnnotation(title="auth", action="\u5bc6\u7801\u767b\u5f55", description="Login with WeChat Code") public org.springframework.http.ResponseEntity<?> login(@RequestBody WeChatLoginRequest requestBody, jakarta.servlet.http.HttpServletRequest httpRequest)
-