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

Extensions for io.vertx.ext.auth.oauth2.OAuth2Auth

introspectTokenAwait

suspend fun OAuth2Auth.introspectTokenAwait(token: String): AccessToken
suspend fun OAuth2Auth.introspectTokenAwait(token: String, tokenType: String): AccessToken

Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine meta-information about this token.

loadJWKAwait

suspend fun OAuth2Auth.loadJWKAwait(): Unit

Loads a JWK Set from the remote provider.