/** * Create a OAuth2Auth provider for CloudFoundry UAA * * @param clientId the client id given to you by CloudFoundry UAA * @param clientSecret the client secret given to you by CloudFoundry UAA * @param uuaURL the url to your UUA server instance */ static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, String uuaURL) { return create(vertx, clientId, clientSecret, uuaURL, new HttpClientOptions()); }
/** * Create a OAuth2Auth provider for CloudFoundry UAA * @param vertx * @param clientId the client id given to you by CloudFoundry UAA * @param clientSecret the client secret given to you by CloudFoundry UAA * @param uuaURL the url to your UUA server instance * @return */ public static io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth create(io.vertx.rxjava.core.Vertx vertx, String clientId, String clientSecret, String uuaURL) { io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth ret = io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth.newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(vertx.getDelegate(), clientId, clientSecret, uuaURL)); return ret; }
/** * Create a OAuth2Auth provider for CloudFoundry UAA * @param vertx * @param clientId the client id given to you by CloudFoundry UAA * @param clientSecret the client secret given to you by CloudFoundry UAA * @param uuaURL the url to your UUA server instance * @return */ public static io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth create(io.vertx.rxjava.core.Vertx vertx, String clientId, String clientSecret, String uuaURL) { io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth ret = io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth.newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(vertx.getDelegate(), clientId, clientSecret, uuaURL)); return ret; }
/** * Create a OAuth2Auth provider for CloudFoundry UAA * @param vertx * @param clientId the client id given to you by CloudFoundry UAA * @param clientSecret the client secret given to you by CloudFoundry UAA * @param uuaURL the url to your UUA server instance * @param httpClientOptions custom http client options * @return */ public static io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth create(io.vertx.rxjava.core.Vertx vertx, String clientId, String clientSecret, String uuaURL, HttpClientOptions httpClientOptions) { io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth ret = io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth.newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(vertx.getDelegate(), clientId, clientSecret, uuaURL, httpClientOptions)); return ret; }
/** * Create a OAuth2Auth provider for CloudFoundry UAA * @param vertx * @param clientId the client id given to you by CloudFoundry UAA * @param clientSecret the client secret given to you by CloudFoundry UAA * @param uuaURL the url to your UUA server instance * @param httpClientOptions custom http client options * @return */ public static io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth create(io.vertx.rxjava.core.Vertx vertx, String clientId, String clientSecret, String uuaURL, HttpClientOptions httpClientOptions) { io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth ret = io.vertx.rxjava.ext.auth.oauth2.OAuth2Auth.newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(vertx.getDelegate(), clientId, clientSecret, uuaURL, httpClientOptions)); return ret; }
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth j_receiver, io.vertx.core.Vertx vertx, java.lang.String clientId, java.lang.String clientSecret, java.lang.String uuaURL, java.util.Map<String, Object> httpClientOptions) { return io.vertx.core.impl.ConversionHelper.fromObject(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(vertx, clientId, clientSecret, uuaURL, httpClientOptions != null ? new io.vertx.core.http.HttpClientOptions(io.vertx.core.impl.ConversionHelper.toJsonObject(httpClientOptions)) : null)); } }