Class CloudFoundryAuth

  • All Implemented Interfaces:
    io.vertx.lang.rx.RxDelegate

    public class CloudFoundryAuth
    extends Object
    implements io.vertx.lang.rx.RxDelegate
    Simplified factory to create an for CloudFoundry UAA.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<CloudFoundryAuth> __TYPE_ARG
    • Constructor Detail

      • CloudFoundryAuth

        public CloudFoundryAuth​(Object delegate)
    • Method Detail

      • hashCode

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

        public CloudFoundryAuth getDelegate()
        Specified by:
        getDelegate in interface io.vertx.lang.rx.RxDelegate
      • create

        public static OAuth2Auth create​(Vertx vertx,
                                        String clientId,
                                        String clientSecret,
                                        String uuaURL)
        Create a OAuth2Auth provider for CloudFoundry UAA
        Parameters:
        vertx -
        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
        Returns:
      • create

        public static OAuth2Auth create​(Vertx vertx,
                                        String clientId,
                                        String clientSecret,
                                        String uuaURL,
                                        HttpClientOptions httpClientOptions)
        Create a OAuth2Auth provider for CloudFoundry UAA
        Parameters:
        vertx -
        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
        Returns: