Interface HerokuAuth
-
public interface HerokuAuth
Simplified factory to create anOAuth2Auth
for Heroku.- 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 Herokustatic OAuth2Auth
create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Heroku
-
-
-
Method Detail
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
Create a OAuth2Auth provider for Heroku- Parameters:
clientId
- the client id given to you by HerokuclientSecret
- the client secret given to you by Heroku
-
create
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Heroku- Parameters:
clientId
- the client id given to you by HerokuclientSecret
- the client secret given to you by HerokuhttpClientOptions
- custom http client options
-
-