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