vertx / io.vertx.rxjava.ext.auth.oauth2.providers / GoogleAuth / create

create

open static fun create(vertx: Vertx, clientId: String, clientSecret: String): OAuth2Auth

Create a OAuth2Auth provider for Google

Parameters

vertx -

clientId - the client id given to you by Google

clientSecret - the client secret given to you by Google

Return

open static fun create(vertx: Vertx, clientId: String, clientSecret: String, httpClientOptions: HttpClientOptions): OAuth2Auth

Create a OAuth2Auth provider for Google

Parameters

vertx -

clientId - the client id given to you by Google

clientSecret - the client secret given to you by Google

httpClientOptions - custom http client options

Return

open static fun create(vertx: Vertx, serviceAccountJson: JsonObject): OAuth2Auth

Create a OAuth2Auth provider for Google Service Account (Server to Server)

Parameters

vertx -

serviceAccountJson - the configuration json file from your Google API page

Return

open static fun create(vertx: Vertx, serviceAccountJson: JsonObject, httpClientOptions: HttpClientOptions): OAuth2Auth

Create a OAuth2Auth provider for Google Service Account (Server to Server)

Parameters

vertx -

serviceAccountJson - the configuration json file from your Google API page

httpClientOptions - custom http client options

Return