@Controller public class RevocationEndpoint extends Object
Constructor and Description |
---|
RevocationEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
revoke(String tokenValue,
String tokenType,
org.springframework.security.core.Authentication auth,
org.springframework.ui.Model model) |
public static final String URL
public RevocationEndpoint()
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_CLIENT\')") @RequestMapping(value="/revoke") public String revoke(@RequestParam(value="token") String tokenValue, @RequestParam(value="token_type_hint",required=false) String tokenType, org.springframework.security.core.Authentication auth, org.springframework.ui.Model model)
Copyright © 2018. All rights reserved.