Class OidcRevocationEndpointController


  • public class OidcRevocationEndpointController
    extends org.apereo.cas.support.oauth.web.endpoints.BaseOAuth20Controller
    Since:
    5.2.0
    • Field Summary

      • Fields inherited from class org.apereo.cas.support.oauth.web.endpoints.BaseOAuth20Controller

        accessTokenFactory, casProperties, principalFactory, scopeToAttributesFilter, servicesManager, ticketGrantingTicketCookieGenerator, ticketRegistry, webApplicationServiceServiceFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      OidcRevocationEndpointController​(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry, org.apereo.cas.ticket.accesstoken.AccessTokenFactory accessTokenFactory, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory, org.apereo.cas.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator, org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<java.lang.String> handleRequestInternal​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handle request for revocation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OidcRevocationEndpointController

        public OidcRevocationEndpointController​(org.apereo.cas.services.ServicesManager servicesManager,
                                                org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
                                                org.apereo.cas.ticket.accesstoken.AccessTokenFactory accessTokenFactory,
                                                org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                                org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory,
                                                org.apereo.cas.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
                                                org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                org.apereo.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator,
                                                org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
    • Method Detail

      • handleRequestInternal

        @PostMapping("/oidc/revoke")
        public org.springframework.http.ResponseEntity<java.lang.String> handleRequestInternal​(javax.servlet.http.HttpServletRequest request,
                                                                                               javax.servlet.http.HttpServletResponse response)
        Handle request for revocation.
        Parameters:
        request - the request
        response - the response
        Returns:
        the jwk set