vertx / io.vertx.kotlin.ext.auth.oauth2.providers / OpenIDConnectAuth / discoverAwait

# discoverAwait

`suspend fun discoverAwait(vertx: Vertx, config: OAuth2ClientOptions): OAuth2Auth`

Suspending version of method io.vertx.ext.auth.oauth2.providers.OpenIDConnectAuth.discover

### Parameters

`vertx` - the vertx instance

`config` - the initial config, it should contain a site url

Return

OAuth2Auth

NOTE: This function has been automatically generated from io.vertx.ext.auth.oauth2.providers.OpenIDConnectAuth using Vert.x codegen.