Class TokenController

java.lang.Object
io.jmix.securityoauth2.impl.controller.TokenController

@RestController("sec_TokenController") public class TokenController extends Object
REST controller that is used for token revocation
  • Field Details

    • tokenRevoker

      @Autowired protected TokenRevoker tokenRevoker
    • tokenMasker

      @Autowired protected TokenMasker tokenMasker
    • applicationEventPublisher

      @Autowired protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher
  • Constructor Details

    • TokenController

      public TokenController()
  • Method Details

    • revokeToken

      @PostMapping("/oauth/revoke") public org.springframework.http.ResponseEntity<?> revokeToken(@RequestParam("token") String token, @RequestParam(value="token_type_hint",required=false) String tokenTypeHint, Principal principal)