Class DefaultEndSessionController

  • All Implemented Interfaces:
    EndSessionController

    @Singleton
    public class DefaultEndSessionController
    extends java.lang.Object
    implements EndSessionController
    A controller for the end session endpoint.
    Since:
    1.2.0
    Author:
    James Kleeh
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<io.micronaut.http.HttpResponse> endSession​(io.micronaut.http.HttpRequest request, Authentication authentication)
      Performs and end session redirect to an OpenID provider.
      • Methods inherited from class java.lang.Object

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

      • DefaultEndSessionController

        public DefaultEndSessionController​(ProviderResolver providerResolver,
                                           io.micronaut.context.BeanContext beanContext)
        Parameters:
        providerResolver - The provider resolver
        beanContext - The bean context
    • Method Detail

      • endSession

        public java.util.Optional<io.micronaut.http.HttpResponse> endSession​(io.micronaut.http.HttpRequest request,
                                                                             Authentication authentication)
        Performs and end session redirect to an OpenID provider.
        Specified by:
        endSession in interface EndSessionController
        Parameters:
        request - The current request
        authentication - The current authentication
        Returns:
        A redirecting http response