Interface GithubAuth
-
public interface GithubAuthSimplified factory to create anOAuth2Authfor Github.- Author:
- Paulo Lopes
-
-
Method Summary
Static Methods Modifier and Type Method Description static OAuth2Authcreate(Vertx vertx, String clientId, String clientSecret)Create a OAuth2Auth provider for Githubstatic OAuth2Authcreate(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
-
-