public class GoogleAuth extends Object
OAuth2Auth
for Google.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<GoogleAuth> |
__TYPE_ARG |
Constructor and Description |
---|
GoogleAuth(GoogleAuth delegate) |
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
|
GoogleAuth |
getDelegate() |
static GoogleAuth |
newInstance(GoogleAuth arg) |
public static final TypeArg<GoogleAuth> __TYPE_ARG
public GoogleAuth(GoogleAuth delegate)
public GoogleAuth getDelegate()
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
vertx
- clientId
- the client id given to you by GoogleclientSecret
- the client secret given to you by Googlepublic static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
vertx
- clientId
- the client id given to you by GoogleclientSecret
- the client secret given to you by GooglehttpClientOptions
- custom http client optionspublic static OAuth2Auth create(Vertx vertx, JsonObject serviceAccountJson)
vertx
- serviceAccountJson
- the configuration json file from your Google API pagepublic static OAuth2Auth create(Vertx vertx, JsonObject serviceAccountJson, HttpClientOptions httpClientOptions)
vertx
- serviceAccountJson
- the configuration json file from your Google API pagehttpClientOptions
- custom http client optionspublic static GoogleAuth newInstance(GoogleAuth arg)
Copyright © 2017. All rights reserved.