Interface GithubAuth
-
public interface GithubAuth
Simplified factory to create anOAuth2Auth
for Github.- Author:
- Paulo Lopes
-
-
Method Summary
Static Methods Modifier and Type Method Description static OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret)
Create a OAuth2Auth provider for Githubstatic OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Github
-
-
-
Method Detail
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
Create a OAuth2Auth provider for Github- Parameters:
clientId
- the client id given to you by GithubclientSecret
- the client secret given to you by Github
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Github- Parameters:
clientId
- the client id given to you by GithubclientSecret
- the client secret given to you by GithubhttpClientOptions
- custom http client options
-
-