类 OAuth2DeviceController
java.lang.Object
cn.herodotus.engine.rest.core.controller.BaseReadableRestController<E,ID>
cn.herodotus.engine.rest.core.controller.BaseWriteableRestController<OAuth2Device,String>
cn.herodotus.engine.oauth2.management.controller.OAuth2DeviceController
- 所有已实现的接口:
cn.herodotus.engine.rest.core.controller.Controller,cn.herodotus.engine.rest.core.controller.ReadableController<OAuth2Device,,String> cn.herodotus.engine.rest.core.controller.WriteableController<OAuth2Device,String>
@RestController
@RequestMapping("/authorize/device")
public class OAuth2DeviceController
extends cn.herodotus.engine.rest.core.controller.BaseWriteableRestController<OAuth2Device,String>
Description: OAuth2DeviceController
- 作者:
- : gengwei.zheng
- Date:
- : 2023/5/15 16:58
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明cn.herodotus.engine.assistant.definition.domain.Result<OAuth2Device>cn.herodotus.engine.data.core.service.WriteableService<OAuth2Device,String> 从类继承的方法 cn.herodotus.engine.rest.core.controller.BaseWriteableRestController
delete, getReadableService, saveOrUpdate从类继承的方法 cn.herodotus.engine.rest.core.controller.BaseReadableRestController
findByPage从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.engine.rest.core.controller.Controller
getPageInfoMap, getPageInfoMap, result, result, result, result, result, result, result, result从接口继承的方法 cn.herodotus.engine.rest.core.controller.ReadableController
findAll, findById, findByPage, findByPage
-
构造器详细资料
-
OAuth2DeviceController
-
-
方法详细资料
-
getWriteableService
public cn.herodotus.engine.data.core.service.WriteableService<OAuth2Device,String> getWriteableService() -
authorize
@PutMapping public cn.herodotus.engine.assistant.definition.domain.Result<OAuth2Device> authorize(@RequestParam(name="deviceId") String deviceId, @RequestParam(name="scopes[]") String[] scopes)
-