Class GiteeAuth
java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.GiteeAuth
- All Implemented Interfaces:
MutinyDelegate
Simplified factory to create an
OAuth2Auth for Gitee.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Gitee
- See Also:
-
GiteeAuth
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2AuthCreate a OAuth2Auth provider for Giteestatic OAuth2Authcreate(Vertx vertx, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for Giteebooleanio.vertx.ext.auth.oauth2.providers.GiteeAuthGet the delegate instance.inthashCode()static GiteeAuthnewInstance(io.vertx.ext.auth.oauth2.providers.GiteeAuth delegate) Creates a new instance of theGiteeAuth.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GiteeAuth
public GiteeAuth(io.vertx.ext.auth.oauth2.providers.GiteeAuth delegate) Create a new instance ofGiteeAuthdelegating to the given (non-null) instance ofGiteeAuth. -
GiteeAuth
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.oauth2.providers.GiteeAuth 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 Gitee- Parameters:
clientId- the client id given to you by GiteeclientSecret- the client secret given to you by Gitee
-
create
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for Gitee- Parameters:
clientId- the client id given to you by GiteeclientSecret- the client secret given to you by GiteehttpClientOptions- custom http client options
-
newInstance
Creates a new instance of theGiteeAuth. -
hashCode
public int hashCode() -
equals
-
toString
-