public interface GoogleAuth
OAuth2Auth for Google.| Modifier and Type | Method and Description |
|---|---|
static OAuth2Auth |
create(Vertx vertx,
JsonObject serviceAccountJson)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
create(Vertx vertx,
JsonObject serviceAccountJson,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Google Service Account (Server to Server)
|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret)
Create a OAuth2Auth provider for Google
|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Google
|
static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
clientId - the client id given to you by GoogleclientSecret - the client secret given to you by Googlestatic OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
clientId - the client id given to you by GoogleclientSecret - the client secret given to you by GooglehttpClientOptions - custom http client optionsstatic OAuth2Auth create(Vertx vertx, JsonObject serviceAccountJson)
serviceAccountJson - the configuration json file from your Google API pagestatic OAuth2Auth create(Vertx vertx, JsonObject serviceAccountJson, HttpClientOptions httpClientOptions)
serviceAccountJson - the configuration json file from your Google API pagehttpClientOptions - custom http client optionsCopyright © 2017. All rights reserved.