...
Scopes can be added and removed using the /scope endpoint URI after the Management API base URI , as is set in the custom.conf
file while setting up the Authorization Server.
Info |
---|
Example - Scope endpoint URIhttp(s)://hostname:port/authserver/management-api-base-uri/scope |
The following table lists all HTTP APIs available for provisioning scopes and the expected success return value.
...
Info |
---|
Example - Client endpoint URIhttp(s)://hostname:port/management-api-base-uriauthserver/api/clients |
Note |
---|
Note! The client name MUST be unique. |
...
URI | HTTP Method | Input Parameters | Input Format and ExampleInput Example | Return Value | Return Format Return and Example |
---|---|---|---|---|---|
/clients | GET | None | Format: Example: | List of all clients registered | Format: Example: |
/clients/<client_name> | GET | None | Format: Example: | Client details for the <client_name> specified | Format: Example: |
/clients | POST | client_name and scope of the client to be registered | Format: Example: | Clients details for the <client_name> registered | Format: Example: |
/clients/<client_name> | DELETE | N/A | Format: Example: | Status for the removal of the client with <client_name> | Format: Example: |
/clients/<client_name> | PUT | scope of client to be registered or modified if client exists | Format: Example: | Client details for the <client_name> that is registered or modified | Format: Example: |
/clients/<client_name> | PATCH | N/A | Format: Example: | Client details for the <client_name> that is specified and with new client_id and client_secret generated | Format: Example: |
...
Info |
---|
Example - Access Token URIif the access-token-uri parameter value was configured to /token. The access token endpoint would be: http(s)://hostname:port/authserver/token |
The client can request for the access token at the access token endpoint by following the steps below:
...