Class CloudFoundryAuth

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

public class CloudFoundryAuth extends Object implements MutinyDelegate
Simplified factory to create an OAuth2Auth for CloudFoundry UAA.

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

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

  • Constructor Details

    • CloudFoundryAuth

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

      public CloudFoundryAuth(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth 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, String uuaURL)
      Create a OAuth2Auth provider for CloudFoundry UAA
      Parameters:
      clientId - the client id given to you by CloudFoundry UAA
      clientSecret - the client secret given to you by CloudFoundry UAA
      uuaURL - the url to your UUA server instance
    • create

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

      public static CloudFoundryAuth newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth delegate)
      Creates a new instance of the CloudFoundryAuth.
    • 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