Class MailchimpAuth

java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.MailchimpAuth
All Implemented Interfaces:
MutinyDelegate

public class MailchimpAuth extends Object implements MutinyDelegate
Simplified factory to create an OAuth2Auth for Mailchimp.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

Author:
Paulo Lopes
See Also:
  • MailchimpAuth
  • Field Details

  • Constructor Details

    • MailchimpAuth

      public MailchimpAuth(io.vertx.ext.auth.oauth2.providers.MailchimpAuth delegate)
      Create a new instance of MailchimpAuth delegating to the given (non-null) instance of MailchimpAuth.
    • MailchimpAuth

      public MailchimpAuth(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.oauth2.providers.MailchimpAuth getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • create

      public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
      Create a OAuth2Auth provider for Mailchimp
      Parameters:
      clientId - the client id given to you by Mailchimp
      clientSecret - the client secret given to you by Mailchimp
    • create

      public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions)
      Create a OAuth2Auth provider for Mailchimp
      Parameters:
      clientId - the client id given to you by Mailchimp
      clientSecret - the client secret given to you by Mailchimp
      httpClientOptions - custom http client options
    • newInstance

      public static MailchimpAuth newInstance(io.vertx.ext.auth.oauth2.providers.MailchimpAuth delegate)
      Creates a new instance of the MailchimpAuth.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object