Click or drag to resize

AuthenticationClient Class

The client for access to the StockSharp authentication service.
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.CommunityBaseServiceClientIAuthenticationService
      StockSharp.CommunityAuthenticationClient

Namespace:  StockSharp.Community
Assembly:  StockSharp.Community (in StockSharp.Community.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class AuthenticationClient : BaseServiceClient<IAuthenticationService>

The AuthenticationClient type exposes the following members.

Constructors
  NameDescription
Public methodAuthenticationClient
Initializes a new instance of the AuthenticationClient.
Public methodAuthenticationClient(Uri)
Initializes a new instance of the AuthenticationClient.
Top
Properties
  NameDescription
Public propertyAddress
Server address.
(Inherited from BaseServiceClientTService.)
Public propertyCredentials
Information about the login and password for access to the StockSharp.
Public propertyStatic memberInstance
The common authorization client for the whole application.
Public propertyIsConnected
Whether the connection has been established.
(Inherited from BaseServiceClientTService.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsLoggedIn
Has the client successfully authenticated.
Public propertyNullableSessionId
To get the SessionId if the user was authorized.
Public propertyProduct
Product.
Public propertySessionId
Session ID.
Public propertyUserId
The user identifier for SessionId.
Public propertyVersion
Product.
Top
Methods
  NameDescription
Public methodConnect (Inherited from BaseServiceClientTService.)
Protected methodCreateChannel
Create WCF channel.
(Inherited from BaseServiceClientTService.)
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged
Release resources.
(Overrides BaseServiceClientTServiceDisposeManaged.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetId
Get a user id.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInvoke(ActionTService)
To call the service TService method.
(Inherited from BaseServiceClientTService.)
Protected methodInvokeTResult(FuncTService, TResult)
To call the service TService method.
(Inherited from BaseServiceClientTService.)
Public methodLogin
To log in.
Public methodLogin(NullableProducts, String, SecureString)
To log in.
Public methodLogout
Logout.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnConnect
Connect.
(Inherited from BaseServiceClientTService.)
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also