Interface CloudFoundryAuth


  • public interface CloudFoundryAuth
    Simplified factory to create an OAuth2Auth for CloudFoundry UAA.
    Author:
    Paulo Lopes
    • Method Detail

      • create

        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

        static OAuth2Auth create​(Vertx vertx,
                                 String clientId,
                                 String clientSecret,
                                 String uuaURL,
                                 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