Interface IAuthorizationEx<TSession>
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
Extended version Ecng.Security.IAuthorization.
public interface IAuthorizationEx<TSession> : IAuthorization where TSession : IMessageListenerSession
Type Parameters
TSession
- Extended version .
- Extension Methods
Methods
Close(IMessageListenerSession)
Close session.
void Close(IMessageListenerSession session)
Parameters
session
IMessageListenerSessionSession.
ValidateCredentials(string, TSession[], string, string, SecureString, IPAddress, CancellationToken)
Validate credentials.
ValueTask<(string sessionId, TSession session)> ValidateCredentials(string serverName, TSession[] sessions, string version, string login, SecureString password, IPAddress clientAddress, CancellationToken cancellationToken)
Parameters
serverName
stringServer name.
sessions
TSession[]Server sessions.
version
stringClient app version.
login
stringLogin.
password
SecureStringPassword.
clientAddress
IPAddressClient address.
cancellationToken
CancellationToken