Class GitLabAuth
java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.GitLabAuth
- All Implemented Interfaces:
MutinyDelegate
Simplified factory to create an
OAuth2Auth for GitLab.com.
https://gitlab.com/help/api/oauth2.md
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
GitLabAuth
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGitLabAuth(io.vertx.ext.auth.oauth2.providers.GitLabAuth delegate) Create a new instance ofGitLabAuthdelegating to the given (non-null) instance ofGitLabAuth.GitLabAuth(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2AuthCreate a OAuth2Auth provider for GitLab.com.static OAuth2AuthCreate a OAuth2Auth provider for GitLab.static OAuth2Authcreate(Vertx vertx, String site, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for GitLab.booleanio.vertx.ext.auth.oauth2.providers.GitLabAuthGet the delegate instance.inthashCode()static GitLabAuthnewInstance(io.vertx.ext.auth.oauth2.providers.GitLabAuth delegate) Creates a new instance of theGitLabAuth.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GitLabAuth
public GitLabAuth(io.vertx.ext.auth.oauth2.providers.GitLabAuth delegate) Create a new instance ofGitLabAuthdelegating to the given (non-null) instance ofGitLabAuth. -
GitLabAuth
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.oauth2.providers.GitLabAuth 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 GitLab.com.- Parameters:
clientId- the client id given to you by GitLabclientSecret- the client secret given to you by GitLab
-
create
Create a OAuth2Auth provider for GitLab.This method allows to specify custom GitLab domain.
- Parameters:
site- root URL for the provider without trailing slashes, eg. https://gitlab.comclientId- the client id given to you by GitLabclientSecret- the client secret given to you by GitLab
-
create
public static OAuth2Auth create(Vertx vertx, String site, String clientId, String clientSecret, io.vertx.core.http.HttpClientOptions httpClientOptions) Create a OAuth2Auth provider for GitLab.- Parameters:
site- root URL for the provider without trailing slashes, eg. https://gitlab.comclientId- the client id given to you by GitLabclientSecret- the client secret given to you by GitLabhttpClientOptions- custom http client options
-
newInstance
Creates a new instance of theGitLabAuth. -
hashCode
public int hashCode() -
equals
-
toString
-