类 OAuth2ScopeController

所有已实现的接口:
JpaController, JpaReadableController<OAuth2Scope,String>, JpaWriteableController<OAuth2Scope,String>, cn.herodotus.stirrup.web.core.definition.Controller

@RestController @RequestMapping("/authorize/scope") public class OAuth2ScopeController extends AbstractJpaWriteableController<OAuth2Scope,String>

Description : OauthScopesController

作者:
: gengwei.zheng
Date:
: 2020/3/25 17:10
  • 构造器详细资料

    • OAuth2ScopeController

      @Autowired public OAuth2ScopeController(OAuth2ScopeService scopeService)
  • 方法详细资料

    • getWriteableService

      public cn.herodotus.stirrup.data.crud.service.JpaWriteableService<OAuth2Scope,String> getWriteableService()
    • assigned

      @PostMapping("/assigned") public cn.herodotus.stirrup.core.definition.domain.Result<OAuth2Scope> assigned(@RequestBody OAuth2ScopeDto scope)
    • findAll

      @AccessLimited @GetMapping("/list") public cn.herodotus.stirrup.core.definition.domain.Result<List<OAuth2Scope>> findAll()
    • findByScopeCode

      @AccessLimited @GetMapping("/{scopeCode}") public cn.herodotus.stirrup.core.definition.domain.Result<OAuth2Scope> findByScopeCode(@PathVariable("scopeCode") String scopeCode)