KSC Open API  13.1
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 genrated for the client. If "KLOAUTH2_CLIENT_SECRET" is empty, new client secret will be genrated for the client.

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