OauthRegisteredClientController

@RestController
@RequestMapping(value = ["/oauth-registered-client"])
class OauthRegisteredClientController(oauthRegisteredClientService: OauthRegisteredClientService)

OAuth2 注册客户端控制器

提供 OAuth2 注册客户端管理接口

Author

lishangbu

Since

2026/3/19

Constructors

Link copied to clipboard
constructor(oauthRegisteredClientService: OauthRegisteredClientService)

Functions

Link copied to clipboard
@DeleteMapping(value = ["/{id}"])
fun deleteById(@PathVariable id: String)

根据 ID 删除注册客户端

Link copied to clipboard
@GetMapping(value = ["/{id}"])
fun getById(@PathVariable id: String): OauthRegisteredClient?

根据 ID 查询注册客户端

Link copied to clipboard
@GetMapping(value = ["/page"])
fun getPage(pageable: Pageable, registeredClient: OauthRegisteredClient): Page<OauthRegisteredClient>

分页条件查询注册客户端

Link copied to clipboard
@GetMapping(value = ["/list"])
fun list(registeredClient: OauthRegisteredClient): List<OauthRegisteredClient>

条件查询注册客户端列表

Link copied to clipboard
@PostMapping
fun save(@RequestBody registeredClient: OauthRegisteredClient): OauthRegisteredClient

新增注册客户端

Link copied to clipboard
@PutMapping
fun update(@RequestBody registeredClient: OauthRegisteredClient): OauthRegisteredClient

更新注册客户端