C# Class Thinktecture.IdentityModel.SecurityTokenService.PassiveMessageHandler

Helper class for WS-Federation message handling
Afficher le fichier Open project: IdentityModel/Thinktecture.IdentityModel.v1

Méthodes publiques

Méthode Description
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.

Method Details

GetFederationMessage() public static méthode

Helper method to create a federation message from the current URI.
public static GetFederationMessage ( ) : WSFederationMessage
Résultat WSFederationMessage

ProcessRequest() public static méthode

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.
Résultat void

ProcessSignInRequest() public static méthode

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.
Résultat SignInResponseMessage

ProcessSignOutRequest() public static méthode

Processes a WS-Federation sign out request. This deletes all local FormsAuthentication and SessionAuthentication cookies.
public static ProcessSignOutRequest ( ) : void
Résultat void