suspend fun OAuth2Auth.introspectTokenAwait(token: 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.
token
- the access token (base64 string)
handler
- A handler to receive the event
Returnself
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.
token
- the access token (base64 string)
tokenType
- hint to the token type e.g.: access_token
handler
- A handler to receive the event
Returnself