-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Authentication Token
Eliza Margaretha edited this page May 20, 2022
·
6 revisions
Returns a token of type API used for authentication purposes. Further requests to restricted resources should include an authentication token in the Authorization header. API tokens must be indicated with authentication scheme "Api" in the Authorization header.
Available in: full version
Method: GET
Service URL: root/apiToken
Header Parameters
Name | Required | Authentication scheme | Value |
---|---|---|---|
Authorization | yes | Basic | Username and password encoded in Base64 |
Request
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' http://localhost:8089/api/auth/apiToken
Response
{ "username": "username", "expires": "2017-12-17T18:46:30.134+01:00", "token": "eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3OTAxMz QsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXA uaWRzLW1hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg 7e9_tUGxOyFGUlo", "token_type": "API" }
Reschke, J., "The 'Basic' HTTP Authentication Scheme", RFC 7617, September 2015.
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a 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