Class TestOAuthDancer

java.lang.Object
org.mule.runtime.oauth.internal.AbstractOAuthDancer<org.mule.runtime.oauth.internal.config.OAuthDancerConfig>
org.mule.test.oauth.client.deprecated.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

    Modifier and Type
    Method
    Description
    void
     

    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

    Methods inherited from class java.lang.Object

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

    • TestOAuthDancer

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

    • 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