Class IdentityController

java.lang.Object
cn.herodotus.engine.oauth2.management.controller.IdentityController

@RestController public class IdentityController extends Object
Author:
gengwei.zheng
See Also:
  • Constructor Details

  • Method Details

    • create

      @PostMapping("/open/identity/session") public cn.herodotus.engine.assistant.definition.domain.Result<Session> create(@Validated @RequestBody SessionCreate sessionCreate, jakarta.servlet.http.HttpServletRequest request)
    • exchange

      @PostMapping("/open/identity/exchange") public cn.herodotus.engine.assistant.definition.domain.Result<String> exchange(@Validated @RequestBody SessionExchange sessionExchange)
    • prompt

      @Crypto(responseEncrypt=false) @PostMapping("/open/identity/prompt") public cn.herodotus.engine.assistant.definition.domain.Result<SignInErrorStatus> prompt(@Validated @RequestBody SignInErrorPrompt signInErrorPrompt)