vertx / io.vertx.rxjava.ext.auth.oauth2 / OAuth2Auth / introspectToken

introspectToken

open fun introspectToken(token: String, handler: Handler<AsyncResult<AccessToken>>): OAuth2Auth

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.

Parameters

token - the access token (base64 string)

handler - A handler to receive the event

Return
self

open fun introspectToken(token: String, tokenType: String, handler: Handler<AsyncResult<AccessToken>>): OAuth2Auth

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.

Parameters

token - the access token (base64 string)

tokenType - hint to the token type e.g.: `access_token`

handler - A handler to receive the event

Return
self