suspend fun AccessToken.fetchAwait(resource: String): OAuth2Response suspend fun AccessToken.fetchAwait(method: HttpMethod, resource: String, headers: JsonObject, payload: Buffer): OAuth2Response
Fetches a JSON resource using this Access Token. |
|
suspend fun AccessToken.introspectAwait(): Unit suspend fun AccessToken.introspectAwait(tokenType: String): Unit
Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid. |
|
suspend fun AccessToken.logoutAwait(): Unit
Revoke refresh token and calls the logout endpoint. This is a openid-connect extension and might not be available on all providers. |
|
suspend fun AccessToken.refreshAwait(): Unit
Refresh the access token |
|
suspend fun AccessToken.revokeAwait(token_type: String): Unit
Revoke access or refresh token |
|
suspend fun AccessToken.userInfoAwait(): JsonObject
Load the user info as per OIDC spec. |