public interface GitLabAuth
OAuth2Auth
for GitLab.com.
https://gitlab.com/help/api/oauth2.mdModifier and Type | Method and Description |
---|---|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret)
Create a OAuth2Auth provider for GitLab.com.
|
static OAuth2Auth |
create(Vertx vertx,
String site,
String clientId,
String clientSecret)
Create a OAuth2Auth provider for GitLab.
|
static OAuth2Auth |
create(Vertx vertx,
String site,
String clientId,
String clientSecret,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for GitLab.
|
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
clientId
- the client id given to you by GitLabclientSecret
- the client secret given to you by GitLabstatic OAuth2Auth create(Vertx vertx, String site, String clientId, String clientSecret)
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 GitLabstatic OAuth2Auth create(Vertx vertx, String site, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
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 optionsCopyright © 2021 Eclipse. All rights reserved.