C# Класс Thinktecture.IdentityModel.SecurityTokenService.PassiveMessageHandler

Helper class for WS-Federation message handling
Показать файл Открыть проект

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

Метод Описание
GetFederationMessage ( ) : WSFederationMessage

Helper method to create a federation message from the current URI.

ProcessRequest ( WSFederationMessage request, IClaimsPrincipal principal, SecurityTokenServiceConfiguration configuration ) : void

Processes a WS-Federation request.

ProcessSignInRequest ( SignInRequestMessage request, IClaimsPrincipal principal, SecurityTokenServiceConfiguration configuration ) : SignInResponseMessage

Processes a WS-Federation sign in request.

ProcessSignOutRequest ( ) : void

Processes a WS-Federation sign out request. This deletes all local FormsAuthentication and SessionAuthentication cookies.

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

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

Helper method to create a federation message from the current URI.
public static GetFederationMessage ( ) : WSFederationMessage
Результат WSFederationMessage

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

Processes a WS-Federation request.
public static ProcessRequest ( WSFederationMessage request, IClaimsPrincipal principal, SecurityTokenServiceConfiguration configuration ) : void
request WSFederationMessage The WS-Federation request message.
principal IClaimsPrincipal The client principal.
configuration SecurityTokenServiceConfiguration The token service configuration.
Результат void

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

Processes a WS-Federation sign in request.
public static ProcessSignInRequest ( SignInRequestMessage request, IClaimsPrincipal principal, SecurityTokenServiceConfiguration configuration ) : SignInResponseMessage
request SignInRequestMessage The request.
principal IClaimsPrincipal The client principal.
configuration SecurityTokenServiceConfiguration The token service configuration.
Результат SignInResponseMessage

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

Processes a WS-Federation sign out request. This deletes all local FormsAuthentication and SessionAuthentication cookies.
public static ProcessSignOutRequest ( ) : void
Результат void