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