OmmConsumers can have associate login request messages and/or oAuth credentials with channels configured in the ChannelSet or Warm Standby configuration. Using the addOAuth2Credential and addLoginMsgCredential function calls allow for multiple credentials and login request options to be used with channels configured in the ChannelGroup.
oAuth2 credentials can be configured with the OAuth2Credential class.
Login credentials will be configured with a Login Domain ReqMsg and associated channelList. The LoginReq class can be used to assist with populating this ReqMsg.
For an example implementation of this functionality, see example Consumer 480_MP_MultiCredentials.