Interface IAuthorizationEx<TSession>
Extended version Ecng.Security.IAuthorization.
Namespace: StockSharp.Server.Core
Assembly: StockSharp.Server.Core.dll
Syntax
public interface IAuthorizationEx<TSession> : IAuthorization where TSession : IMessageListenerSession
Type Parameters
Name | Description |
---|---|
TSession |
Methods
Close(IMessageListenerSession)
Close session.
Declaration
void Close(IMessageListenerSession session)
Parameters
Type | Name | Description |
---|---|---|
IMessageListenerSession | session | Session. |
ValidateCredentials(String, TSession[], String, String, SecureString, IPAddress)
Проверить доступ.
Declaration
(string, TSession) ValidateCredentials(string serverName, TSession[] sessions, string version, string login, SecureString password, IPAddress clientAddress)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | Server name. |
TSession[] | sessions | Server sessions. |
String | version | Client app version. |
String | login | Login. |
SecureString | password | Password. |
IPAddress | clientAddress | Client address. |
Returns
Type | Description |
---|---|
(, )<String, TSession> | Session ID and server session. |