vertx / io.vertx.kotlin.ext.auth.oauth2 / io.vertx.ext.auth.oauth2.OAuth2Auth / revokeAwait

# revokeAwait

`suspend fun OAuth2Auth.revokeAwait(user: User, tokenType: String): Unit`

Suspending version of method io.vertx.ext.auth.oauth2.OAuth2Auth.revoke

### Parameters

`user` - the user (access token) to revoke.

`tokenType` -

the token type (either access_token or refresh_token).

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

`suspend fun OAuth2Auth.revokeAwait(user: User): Unit`

Suspending version of method io.vertx.ext.auth.oauth2.OAuth2Auth.revoke

### Parameters

`user` -

the user (access token) to revoke.

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