Interface CloudFoundryAuth
-
public interface CloudFoundryAuth
Simplified factory to create anOAuth2Auth
for CloudFoundry UAA.- Author:
- Paulo Lopes
-
-
Method Summary
Static Methods Modifier and Type Method Description static OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret, String uuaURL)
Create a OAuth2Auth provider for CloudFoundry UAAstatic OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret, String uuaURL, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for CloudFoundry UAA
-
-
-
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 UAAclientSecret
- the client secret given to you by CloudFoundry UAAuuaURL
- 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 UAAclientSecret
- the client secret given to you by CloudFoundry UAAuuaURL
- the url to your UUA server instancehttpClientOptions
- custom http client options
-
-