-
Notifications
You must be signed in to change notification settings - Fork 3
Service: OAuth2 Token Revocation via Super Client
Eliza Margaretha edited this page Sep 27, 2023
·
9 revisions
revokes a refresh token of any user-authorized client via a super client, such as Kalamar. When revoking a refresh token, all access tokens associated with the refresh token will also be revoked. A HTTP response with status code 200 is sent for both successful token revocation and requests with invalid token. According to RFC 7009, invalid tokens do not cause errors because the invalidation has already achieved. User and super client authentications are required. This service is not part of the general OAuth2 specification.
Available in: full version
Method: POST
Service URL: root/oauth2/revoke/super
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Authorization | yes | User authentication using HTTP authentication scheme Bearer | OAuth2 access token |
Content-Type | yes | content type of the input data | application/x-www-form-urlencoded |
Form Parameters
Name | Required | Description | Type |
---|---|---|---|
super_client_id | yes | a super client id | String |
super_client_secret | yes | the super client secret | String |
token | yes | a refresh token or an access token | String |
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' -H 'Content-Type: application/x-www-form-urlencoded' -d 'super_client_id=fCBbQkAyYzI4NzUxMg&super_client_secret= y8KvA9B7eWnlP2fMq1dU&token=kEgl6pY0cSmH5i2DnzJ' http://localhost:8089/api/v1.0/oauth2/revoke/super
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery