Class AbstractTokenResponseHandler

    • Constructor Detail

      • AbstractTokenResponseHandler

        public AbstractTokenResponseHandler​(boolean valid)
    • Method Detail

      • invalidToken

        public final java.lang.Object invalidToken​(groovy.lang.Closure callable)
        Description copied from interface: TokenResponseHandler
        Specify behavior in the event of an invalid token.
        Specified by:
        invalidToken in interface TokenResponseHandler
        Parameters:
        callable - The closure to invoke in the event of an invalid token
        Returns:
        A Grails model or null
      • invalidTokenInternal

        protected abstract java.lang.Object invalidTokenInternal​(groovy.lang.Closure callable)