Class Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpath()post(RevokeTokenRequest revokeTokenRequest) post(RevokeTokenRequest revokeTokenRequest, RevokeTokenParameters queryParams) Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided.
-
Field Details
-
rc
-
parent
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
post
public String post(RevokeTokenRequest revokeTokenRequest, RevokeTokenParameters queryParams) throws RestException, IOException Revokes all active access/refresh tokens and invalidates the OAuth session basing on token provided. The `token` parameter may be passed in query string or body and may represent access or refresh token.This endpoint is defined by [RFC-7009 "OAuth 2.0 Token Revocation"](https://datatracker.ietf.org/doc/html/rfc7009)
For confidential client application types this endpoint requires client authentication using one of the supported methods: - `client_secret_basic` - client ID and client secret must be provided via `Authorization` header as described in [RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1). - `client_secret_jwt` / `private_key_jwt` -- `client_assertion` attribute should be used to pass a signed JWT as described in [RFC-7523](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2).
For non-confidential client application types the client identifier must be provided via `client_id` request attribute.
HTTP Method: post Endpoint: /restapi/oauth/revoke Rate Limit Group: Auth
- Throws:
RestExceptionIOException
-
post
- Throws:
RestExceptionIOException
-