ProtoOAApplicationAuthReq

StockSharp.cTrader.Native.Model

* Request for the authorizing an application to work with the cTrader platform Proxies.

Implements: IMessage<ProtoOAApplicationAuthReq>, IMessage, IEquatable<ProtoOAApplicationAuthReq>, IDeepCloneable<ProtoOAApplicationAuthReq>, IBufferMessage

Properties

ClientId
public string ClientId { get; set; }
value = protoOAApplicationAuthReq.ClientId
protoOAApplicationAuthReq.ClientId = value

The unique Client ID provided during the registration.

ClientSecret
public string ClientSecret { get; set; }
value = protoOAApplicationAuthReq.ClientSecret
protoOAApplicationAuthReq.ClientSecret = value

The unique Client Secret provided during the registration.

HasClientId
public bool HasClientId { get; }
value = protoOAApplicationAuthReq.HasClientId

Gets whether the "clientId" field is set

HasClientSecret
public bool HasClientSecret { get; }
value = protoOAApplicationAuthReq.HasClientSecret

Gets whether the "clientSecret" field is set

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

Gets whether the "payloadType" field is set

Methods

ClearClientId
public void ClearClientId()
protoOAApplicationAuthReq.ClearClientId()

Clears the value of the "clientId" field

ClearClientSecret
public void ClearClientSecret()
protoOAApplicationAuthReq.ClearClientSecret()

Clears the value of the "clientSecret" field

ClearPayloadType
public void ClearPayloadType()
protoOAApplicationAuthReq.ClearPayloadType()

Clears the value of the "payloadType" field

Fields

ClientIdFieldNumber
public const int ClientIdFieldNumber
value = ProtoOAApplicationAuthReq.ClientIdFieldNumber

Field number for the "clientId" field.

ClientSecretFieldNumber
public const int ClientSecretFieldNumber
value = ProtoOAApplicationAuthReq.ClientSecretFieldNumber

Field number for the "clientSecret" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAApplicationAuthReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.