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