Class OAuth2ApplicationController
java.lang.Object
cn.herodotus.engine.rest.core.controller.BaseReadableRestController<E,ID>
cn.herodotus.engine.rest.core.controller.BaseWriteableRestController<OAuth2Application,String>
cn.herodotus.engine.oauth2.management.controller.OAuth2ApplicationController
- All Implemented Interfaces:
cn.herodotus.engine.rest.core.controller.Controller,cn.herodotus.engine.rest.core.controller.ReadableController<OAuth2Application,,String> cn.herodotus.engine.rest.core.controller.WriteableController<OAuth2Application,String>
@RestController
@RequestMapping("/authorize/application")
public class OAuth2ApplicationController
extends cn.herodotus.engine.rest.core.controller.BaseWriteableRestController<OAuth2Application,String>
Description: OAuth2应用管理接口
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/1 18:52
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncn.herodotus.engine.assistant.definition.domain.Result<OAuth2Application>cn.herodotus.engine.data.core.service.WriteableService<OAuth2Application,String> Methods inherited from class cn.herodotus.engine.rest.core.controller.BaseWriteableRestController
delete, getReadableService, saveOrUpdateMethods inherited from class cn.herodotus.engine.rest.core.controller.BaseReadableRestController
findByPageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.rest.core.controller.Controller
getPageInfoMap, getPageInfoMap, result, result, result, result, result, result, result, resultMethods inherited from interface cn.herodotus.engine.rest.core.controller.ReadableController
findAll, findById, findByPage, findByPage
-
Constructor Details
-
OAuth2ApplicationController
-
-
Method Details
-
getWriteableService
public cn.herodotus.engine.data.core.service.WriteableService<OAuth2Application,String> getWriteableService() -
authorize
@PutMapping public cn.herodotus.engine.assistant.definition.domain.Result<OAuth2Application> authorize(@RequestParam(name="applicationId") String scopeId, @RequestParam(name="scopes[]") String[] scopes)
-