6.5.1 Configuring and Managing Version 2 Credentials
The client ID and client secret or private JWK must be set on the OmmConsumer objectas described in Section 6.10.2.1 of the Enterprise Transport API C++ Edition Value Added Developers Guide. The OmmOAuth2ConsumerClient will handle the credentials the same way as Version 1, with an OmmOAuth2ConsumerClient callback for credentials if the user does not wish for the OmmOAuth2ConsumerClient to store them.