ProtoOAAccountAuthReq
* Request for the authorizing trading account session. Requires established authorized connection with the client application using ProtoOAApplicationAuthReq.
Implements: IMessage<ProtoOAAccountAuthReq>, IMessage, IEquatable<ProtoOAAccountAuthReq>, IDeepCloneable<ProtoOAAccountAuthReq>, IBufferMessage
Properties
public string AccessToken { get; set; }
value = protoOAAccountAuthReq.AccessToken
protoOAAccountAuthReq.AccessToken = value
The Access Token issued for providing access to the Trader's Account.
public long CtidTraderAccountId { get; set; }
value = protoOAAccountAuthReq.CtidTraderAccountId
protoOAAccountAuthReq.CtidTraderAccountId = value
The unique identifier of the trader's account in cTrader platform.
public bool HasAccessToken { get; }
value = protoOAAccountAuthReq.HasAccessToken
Gets whether the "accessToken" field is set
public bool HasCtidTraderAccountId { get; }
value = protoOAAccountAuthReq.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasPayloadType { get; }
value = protoOAAccountAuthReq.HasPayloadType
Gets whether the "payloadType" field is set
Methods
public void ClearAccessToken()
protoOAAccountAuthReq.ClearAccessToken()
Clears the value of the "accessToken" field
public void ClearCtidTraderAccountId()
protoOAAccountAuthReq.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearPayloadType()
protoOAAccountAuthReq.ClearPayloadType()
Clears the value of the "payloadType" field
Fields
public const int AccessTokenFieldNumber
value = ProtoOAAccountAuthReq.AccessTokenFieldNumber
Field number for the "accessToken" field.
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAccountAuthReq.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int PayloadTypeFieldNumber
value = ProtoOAAccountAuthReq.PayloadTypeFieldNumber
Field number for the "payloadType" field.