|
1 | 1 | package org.lowcoder.api.authentication;
|
2 | 2 |
|
3 |
| -import com.fasterxml.jackson.annotation.JsonView; |
4 |
| -import io.swagger.v3.oas.annotations.Operation; |
| 3 | +import java.util.List; |
| 4 | + |
5 | 5 | import org.lowcoder.api.authentication.dto.APIKeyRequest;
|
6 | 6 | import org.lowcoder.api.authentication.dto.AuthConfigRequest;
|
7 | 7 | import org.lowcoder.api.framework.view.ResponseView;
|
|
13 | 13 | import org.lowcoder.sdk.auth.AbstractAuthConfig;
|
14 | 14 | import org.lowcoder.sdk.config.JsonViews;
|
15 | 15 | import org.lowcoder.sdk.constants.AuthSourceConstants;
|
16 |
| -import org.springframework.web.bind.annotation.*; |
| 16 | +import org.springframework.web.bind.annotation.DeleteMapping; |
| 17 | +import org.springframework.web.bind.annotation.GetMapping; |
| 18 | +import org.springframework.web.bind.annotation.PathVariable; |
| 19 | +import org.springframework.web.bind.annotation.PostMapping; |
| 20 | +import org.springframework.web.bind.annotation.RequestBody; |
| 21 | +import org.springframework.web.bind.annotation.RequestMapping; |
| 22 | +import org.springframework.web.bind.annotation.RequestParam; |
| 23 | +import org.springframework.web.bind.annotation.RestController; |
17 | 24 | import org.springframework.web.server.ServerWebExchange;
|
18 |
| -import reactor.core.publisher.Mono; |
19 | 25 |
|
20 |
| -import java.util.List; |
| 26 | +import com.fasterxml.jackson.annotation.JsonView; |
| 27 | + |
| 28 | +import io.swagger.v3.oas.annotations.Operation; |
| 29 | +import reactor.core.publisher.Mono; |
21 | 30 |
|
22 | 31 | @RestController
|
23 | 32 | @RequestMapping(value = {NewUrl.CUSTOM_AUTH})
|
@@ -159,4 +168,5 @@ public Mono<ResponseView<Boolean>> linkAccountWithThirdParty(
|
159 | 168 | */
|
160 | 169 | public record FormLoginRequest(String loginId, String password, boolean register, String source, String authId) {
|
161 | 170 | }
|
162 |
| -} |
| 171 | +} |
| 172 | + |
0 commit comments