C# Класс RDSFactor.Handlers.RDSHandler

Показать файл Открыть проект

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

Метод Описание
Cleanup ( ) : void
HasValidLaunchWindow ( string username ) : bool
HasValidSession ( string username ) : bool
ProcessAccessRequest ( ) : void
ProcessAppLaunchRequest ( ) : void

Process the RDS specific App Launch request. These requests are sent when an app is clicked in RD Web. It's checked whether the session is still valid.In which case, a window is opened for the user, where we allow the user to connect through the gateway, an Accept-Access is returned and the RD Web launches the RDP client. NOTE: Requests contain the session GUID in the password attribute of the packet.

ProcessGatewayRequest ( ) : void

Process the request from the Network Policy Server in the RDS Gateway. These are sent when an RDP client tries to connect through the Gateway. Accept-Access is returned when the user has a * valid session; and a * valid app launch window The launch window is closed after this request.

ProcessRequest ( ) : void
RDSHandler ( RADIUSPacket packet ) : System

Приватные методы

Метод Описание
Accept ( ) : void
Authenticate ( ) : SearchResult
CleanUsername ( string userName ) : string
LdapGetEmail ( SearchResult result ) : string
LdapGetNumberCleaned ( SearchResult result ) : string
ProcessChallengeResponse ( ) : void
TwoFactorChallenge ( SearchResult ldapResult ) : void

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

Cleanup() публичный статический Метод

public static Cleanup ( ) : void
Результат void

HasValidLaunchWindow() публичный статический Метод

public static HasValidLaunchWindow ( string username ) : bool
username string
Результат bool

HasValidSession() публичный статический Метод

public static HasValidSession ( string username ) : bool
username string
Результат bool

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

public ProcessAccessRequest ( ) : void
Результат void

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

Process the RDS specific App Launch request. These requests are sent when an app is clicked in RD Web. It's checked whether the session is still valid.In which case, a window is opened for the user, where we allow the user to connect through the gateway, an Accept-Access is returned and the RD Web launches the RDP client. NOTE: Requests contain the session GUID in the password attribute of the packet.
public ProcessAppLaunchRequest ( ) : void
Результат void

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

Process the request from the Network Policy Server in the RDS Gateway. These are sent when an RDP client tries to connect through the Gateway. Accept-Access is returned when the user has a * valid session; and a * valid app launch window The launch window is closed after this request.
public ProcessGatewayRequest ( ) : void
Результат void

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

public ProcessRequest ( ) : void
Результат void

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

public RDSHandler ( RADIUSPacket packet ) : System
packet RADIUSPacket
Результат System