Class CloudFoundryAuth
java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.CloudFoundryAuth
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCloudFoundryAuth(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth delegate) Create a new instance ofCloudFoundryAuthdelegating to the given (non-null) instance ofCloudFoundryAuth.CloudFoundryAuth(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2AuthCreate a OAuth2Auth provider for CloudFoundry UAAstatic OAuth2Authcreate(Vertx vertx, String clientId, String clientSecret, String uuaURL, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for CloudFoundry UAAbooleanio.vertx.ext.auth.oauth2.providers.CloudFoundryAuthGet the delegate instance.inthashCode()static CloudFoundryAuthnewInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth delegate) Creates a new instance of theCloudFoundryAuth.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
CloudFoundryAuth
public CloudFoundryAuth(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth delegate) Create a new instance ofCloudFoundryAuthdelegating to the given (non-null) instance ofCloudFoundryAuth. -
CloudFoundryAuth
-
-
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:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
create
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
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 UAAclientSecret- the client secret given to you by CloudFoundry UAAuuaURL- the url to your UUA server instancehttpClientOptions- custom http client options
-
newInstance
public static CloudFoundryAuth newInstance(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth delegate) Creates a new instance of theCloudFoundryAuth. -
hashCode
public int hashCode() -
equals
-
toString
-