Class HerokuAuth
java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.HerokuAuth
- All Implemented Interfaces:
MutinyDelegate
Simplified factory to create an
OAuth2Auth for Heroku.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Paulo Lopes
- See Also:
-
HerokuAuth
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHerokuAuth(io.vertx.ext.auth.oauth2.providers.HerokuAuth delegate) Create a new instance ofHerokuAuthdelegating to the given (non-null) instance ofHerokuAuth.HerokuAuth(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2AuthCreate a OAuth2Auth provider for Herokustatic OAuth2Authcreate(Vertx vertx, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for Herokubooleanio.vertx.ext.auth.oauth2.providers.HerokuAuthGet the delegate instance.inthashCode()static HerokuAuthnewInstance(io.vertx.ext.auth.oauth2.providers.HerokuAuth delegate) Creates a new instance of theHerokuAuth.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HerokuAuth
public HerokuAuth(io.vertx.ext.auth.oauth2.providers.HerokuAuth delegate) Create a new instance ofHerokuAuthdelegating to the given (non-null) instance ofHerokuAuth. -
HerokuAuth
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.oauth2.providers.HerokuAuth 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 Heroku- Parameters:
clientId- the client id given to you by HerokuclientSecret- the client secret given to you by Heroku
-
create
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for Heroku- Parameters:
clientId- the client id given to you by HerokuclientSecret- the client secret given to you by HerokuhttpClientOptions- custom http client options
-
newInstance
Creates a new instance of theHerokuAuth. -
hashCode
public int hashCode() -
equals
-
toString
-