vertx / io.vertx.kotlin.ext.auth.oauth2 / io.vertx.ext.auth.oauth2.AccessToken / fetchAwait

fetchAwait

suspend fun AccessToken.fetchAwait(resource: String): OAuth2Response

Fetches a JSON resource using this Access Token.

Parameters

resource -

callback -

Return

suspend fun AccessToken.fetchAwait(method: HttpMethod, resource: String, headers: JsonObject, payload: Buffer): OAuth2Response

Fetches a JSON resource using this Access Token.

Parameters

method -

resource -

headers -

payload -

callback -

Return