Class TestOAuthDancer

  • All Implemented Interfaces:
    org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable

    public class TestOAuthDancer
    extends org.mule.runtime.oauth.internal.AbstractOAuthDancer<org.mule.runtime.oauth.internal.config.OAuthDancerConfig>
    A dummy dancer that will actually do nothing.

    We just want to call the refresh token logic from the base class to spot interoperability issues between classes from different ClassLoaders.

    • Field Summary

      • Fields inherited from class org.mule.runtime.oauth.internal.AbstractOAuthDancer

        config, TOKEN_REQUEST_TIMEOUT_MILLIS
      • Fields inherited from interface org.mule.runtime.api.lifecycle.Startable

        PHASE_NAME
      • Fields inherited from interface org.mule.runtime.api.lifecycle.Stoppable

        PHASE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TestOAuthDancer​(org.mule.runtime.oauth.internal.config.OAuthDancerConfig config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start()  
      • Methods inherited from class org.mule.runtime.oauth.internal.AbstractOAuthDancer

        doAddListener, doRefreshToken, doRefreshTokenRequest, doRemoveListener, getContextForResourceOwner, getLockProvider, handleClientCredentials, invalidateContext, invokeTokenUrl, onEachListener, parseTokenResponse, resolveExpression, resolveExpression, startHttpClient, stop, stopHttpClient, tokenUrlExceptionHandler, updateOAuthContextAfterTokenResponse, updateResourceOwnerOAuthContext
    • Constructor Detail

      • TestOAuthDancer

        protected TestOAuthDancer​(org.mule.runtime.oauth.internal.config.OAuthDancerConfig config)
    • Method Detail

      • start

        public void start()
                   throws org.mule.runtime.api.exception.MuleException
        Specified by:
        start in interface org.mule.runtime.api.lifecycle.Startable
        Overrides:
        start in class org.mule.runtime.oauth.internal.AbstractOAuthDancer<org.mule.runtime.oauth.internal.config.OAuthDancerConfig>
        Throws:
        org.mule.runtime.api.exception.MuleException