KSC Open API
Kaspersky Security Center API description
OAuth2::ApproveNewClients ( array  pClients)

Approves new OAuth2 clients.

Parameters:
pClients(array) each element of array contains information about OAuth2 client (see attributes List of OAuth2 client attributes), all writable data will be saved in DB

If "KLOAUTH2_CLIENT_ID" is empty, new client id will be generated for the client. If "KLOAUTH2_CLIENT_SECRET" is empty, new client secret will be generated for the client.

Generates event "KLOAUTH2_EVENT_CLIENTS_NEED_REGISTRATION" (see Event polling usage).

Note:
"KLOAUTH2_CLIENTS_EXTRA_INFO" command will be sent to product-connector for each new OAuth2 client. Command parameters: