File: WebAPI/account_authorization_2.proto
Message for multi-step account level logon. It can be used for accounts with a non-empty trading_account_2.Account.account_connection_status. Multi-step account level logon sequence has the following steps:
1. Client
initiates logon negotiation by sending
AccountLogonRoutineClient.logon_init
message to the server.
2. Server sends one or more AccountLogonRoutineServer.password_requests messages (this step may repeat after step #3).
3. Client sends list of AccountLogonRoutineClient.password_responses back to the server.
4. Server sends AccountLogonRoutineServer.logon_result as the final message of the negotiation.
Client may stop the negotiation by sending AccountLogonRoutineClient.abort_logon message in response to any server AccountLogonRoutineServer.password_requests message.
Note: Only one of logon_init, password_responses and abort_logon fields has to be specified.
Response: AccountLogonRoutineServer.
Type: sint32
Description: Account ID in the CQG trade routing system.
Source: trading_account_2.Account.account_id.
Required: yes.
Type: AccountLogonInit
Description: Initiating of multi-step account level logon process by client.
Type: user_session_2.PasswordResponse
Description: List of passwords in response to request from server. The number of passwords in response should be equal to the number of passwords in request from server.
Type: user_session_2.AbortRoutine
Description: Aborting of multi-step account level logon process by client.