ProtoOAAccountAuthReq

StockSharp.cTrader.Native.Model

* 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

AccessToken
public string AccessToken { get; set; }
value = protoOAAccountAuthReq.AccessToken
protoOAAccountAuthReq.AccessToken = value

The Access Token issued for providing access to the Trader's Account.

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAAccountAuthReq.CtidTraderAccountId
protoOAAccountAuthReq.CtidTraderAccountId = value

The unique identifier of the trader's account in cTrader platform.

HasAccessToken
public bool HasAccessToken { get; }
value = protoOAAccountAuthReq.HasAccessToken

Gets whether the "accessToken" field is set

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAAccountAuthReq.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasPayloadType
public bool HasPayloadType { get; }
value = protoOAAccountAuthReq.HasPayloadType

Gets whether the "payloadType" field is set

Methods

ClearAccessToken
public void ClearAccessToken()
protoOAAccountAuthReq.ClearAccessToken()

Clears the value of the "accessToken" field

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAAccountAuthReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType
public void ClearPayloadType()
protoOAAccountAuthReq.ClearPayloadType()

Clears the value of the "payloadType" field

Fields

AccessTokenFieldNumber
public const int AccessTokenFieldNumber
value = ProtoOAAccountAuthReq.AccessTokenFieldNumber

Field number for the "accessToken" field.

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAAccountAuthReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAAccountAuthReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.