Export (0) Print
Expand All

WSFederationAuthenticationModule Methods

.NET Framework 4.5

The WSFederationAuthenticationModule type exposes the following members.

  Name Description
Public method CanReadSignInResponse(HttpRequestBase) Returns a value that indicates whether the specified HTTP request is a WS-Federation sign-in response message. If the message is a WS-Federation sign-out clean-up message (“wsignoutcleanup1.0”), this method processes the request.
Public method CanReadSignInResponse(HttpRequestBase, Boolean) Returns a value that indicates whether the specified HTTP request is a WS-Federation sign-in response message. If the message is a WS-Federation sign-out clean-up message (“wsignoutcleanup1.0”), this method processes the request.
Public method CreateSignInRequest Creates a WS-Federation sign in request message by using the WS-Federation parameters configured on the module.
Public method Dispose Releases the resources (except memory) used by the current instance of the HttpModuleBase class. (Inherited from HttpModuleBase.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Static member FederatedSignOut Signs out at the specified security token service (STS) by using the WS-Federation protocol.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetFederationPassiveSignOutUrl Returns a URL that represents a WS-Federation sign-out request addressed to the specified issuer and that contains the specified wreply parameter and the specified additional parameters.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetReferencedResult Gets the issuance result (typically the issued token) from the specified URL. Resolves the URL specified in the wresultptr parameter in a sign-in response message.
Protected method GetReturnUrlFromResponse Extracts the URL of the page that was originally requested from the sign-in response.
Public method GetSecurityToken(HttpRequestBase) Reads a security token from the specified HTTP request.
Public method GetSecurityToken(SignInResponseMessage) Reads a security token from the specified WS Federation sign-in response message.
Protected method GetSessionTokenContext Gets a string that should be persisted with the session cookie in the SessionSecurityToken.Context property.
Public method GetSignInResponseMessage Reads a SignInResponseMessage object from the form POST represented by the specified HTTP request.
Protected method GetSignOutRedirectUrl Determines the URL to which to redirect when processing a WS-Federation sign-out clean-up request (wsignoutcleanup1.0) that contains a wreply parameter.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetXmlTokenFromMessage(SignInResponseMessage) Extracts the issued token from the specified WS-Federation sign-in response message.
Public method GetXmlTokenFromMessage(SignInResponseMessage, WSFederationSerializer) Extracts the issued token from the specified WS-Federation sign-in response message by using the specified WS-Federation serializer.
Public method Init Initializes the HTTP module. (Inherited from HttpModuleBase.)
Protected method InitializeModule Initializes the module and prepares it to handle events from the module's ASP.NET application object. (Overrides HttpModuleBase.InitializeModule(HttpApplication).)
Protected method InitializePropertiesFromConfiguration Initializes the module properties based on the configuration specified by the FederationConfiguration property of the module. (Overrides HttpModuleBase.InitializePropertiesFromConfiguration().)
Public method IsSignInResponse Gets a value that indicates whether the specified request is a WS-Federation sign-in response message.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAuthenticateRequest Handles the HttpApplication.AuthenticateRequest event from the ASP.NET pipeline.
Protected method OnAuthorizationFailed Raises the AuthorizationFailed event.
Protected method OnEndRequest Handles the HttpApplication.EndRequest event from the ASP.NET pipeline.
Protected method OnPostAuthenticateRequest Handles the HttpApplication.PostAuthenticateRequest event from the ASP.NET pipeline.
Protected method OnRedirectingToIdentityProvider Raises the RedirectingToIdentityProvider event.
Protected method OnSessionSecurityTokenCreated Raises the SessionSecurityTokenCreated event.
Protected method OnSignedIn Raises the SignedIn event.
Protected method OnSignedOut Raises the SignedOut event.
Protected method OnSignInError Raises the SignInError event.
Protected method OnSigningOut Raises the SigningOut event.
Protected method OnSignOutError Raises the SignOutError event.
Public method RedirectToIdentityProvider Redirects the user to the security token service (STS) specified by the Issuer property to obtain a security token using the WS-Federation protocol.
Public method SetPrincipalAndWriteSessionToken Sets the thread principal and optionally writes the session cookie.
Public method SignIn Performs sign-in to a security token service (STS) through the WS-Federation protocol.
Public method SignOut() Signs out of the current session and requests a redirect back to the URL specified in the current HTTP request.
Public method SignOut(Boolean) Signs out of the current session and raises the appropriate events.
Public method SignOut(String) Signs out of the current session and requests a redirect back to the specified URL.
Public method SignOut(String, Boolean) Signs out of the current session and requests a redirect back to the specified URL.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyProperties Verifies that the Issuer and Realm properties are non-empty, and, that, if the RequireHttps property is true, that the URIs specified for Issuer and Realm are HTTPS-compliant.
Top
Show:
© 2015 Microsoft