|
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
- * 认证接口
|
|
|
+ * 登陆接口
|
|
|
*
|
|
|
* @author Woody
|
|
|
* @date 2024/1/31
|
|
@@ -63,17 +63,6 @@ public class AuthorizeController {
|
|
|
return this.authorizeClient.authorize(param);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 账号密码登陆
|
|
|
- *
|
|
|
- * @param param 登陆参数
|
|
|
- * @return 认证信息
|
|
|
- */
|
|
|
- @PostMapping("/login/password")
|
|
|
- public Authorization loginWithPassword(@RequestBody @Valid AuthorizeParam.Password param) {
|
|
|
- return this.authorizeClient.authorize(param);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 令牌刷新
|
|
|
*
|