Show / Hide Table of Contents

Class CommunityAuthorization

The module of the connection access check based on the StockSharp authorization.

Inheritance
Object
CommunityAuthorization
Implements
Ecng.Security.IAuthorization
Namespace: StockSharp.Community
Assembly: StockSharp.Studio.Community.dll
Syntax
public class CommunityAuthorization : Object, IAuthorization

Constructors

CommunityAuthorization(ProductInfoMessage, String, IAuthenticationClient)

Создать CommunityAuthorization.

Declaration
public CommunityAuthorization(ProductInfoMessage product, string version, IAuthenticationClient client)
Parameters
Type Name Description
ProductInfoMessage product

Product.

String version

Version.

IAuthenticationClient client

Клиент для доступа к сервису авторизации StockSharp.

Methods

ValidateCredentials(String, SecureString, IPAddress)

Проверить логин и пароль на правильность.

Declaration
public virtual Guid ValidateCredentials(string login, SecureString password, IPAddress clientAddress)
Parameters
Type Name Description
String login

Login.

SecureString password

Password.

IPAddress clientAddress

Удаленный сетевой адрес.

Returns
Type Description
Guid

Идентификатор сессии.

Implements

Ecng.Security.IAuthorization

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾