类 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
  • 构造器详细资料

  • 方法详细资料

    • 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)