C# Класс Examples.ControlClientIdentityChecks.Handler

Наследование: ServerHandlerDefault, IControlAuthenticationHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
Authenticate ( string principal, ICredentials credentials, ISessionDetails sessionDetails, IAuthenticationHandlerCallback callback ) : void

Request authentication. The server calls this to authenticate new sessions, and when a client requests the session principal is changed. For each call to Authenticate, the authentication handler should respond by calling one of the methods of the provided callback. The handler may return immediately and process the authentication request asynchronously. The client session will be blocked until a callback method is called.

Описание методов

Authenticate() публичный Метод

Request authentication. The server calls this to authenticate new sessions, and when a client requests the session principal is changed. For each call to Authenticate, the authentication handler should respond by calling one of the methods of the provided callback. The handler may return immediately and process the authentication request asynchronously. The client session will be blocked until a callback method is called.
public Authenticate ( string principal, ICredentials credentials, ISessionDetails sessionDetails, IAuthenticationHandlerCallback callback ) : void
principal string
credentials ICredentials
sessionDetails ISessionDetails
callback IAuthenticationHandlerCallback
Результат void