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

GoogleAuth

interface GoogleAuth

Simplified factory to create an io.vertx.ext.auth.oauth2.OAuth2Auth for Google.

Author
Paulo Lopes

Functions

create

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

Create a OAuth2Auth provider for Google

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

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