Export (0) Print
Expand All

WSFederationAuthenticationModule Methods

Windows Identity Foundation
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

(see also Protected Methods)
 NameDescription
public methodCanReadSignInResponseOverloaded. Determines if request is a WS-Federation Passive Protocol SignIn Response message from the STS.
public methodCreateSignInRequestCreates a WS-Federation Passive Protocol SignIn Request, using the WS-Federation parameters configured on the module.
public methodDispose  Disposes of the resources used by the module. (Inherited from HttpModuleBase)
public methodEquals  (Inherited from Object)
public methodstaticFederatedSignOutSign out according to the WS-Federation protocol.
public methodstaticGetFederationPassiveSignOutUrlGets the complete WS-Federation Passive signout url.
public methodGetHashCode  (Inherited from Object)
public methodGetSecurityTokenOverloaded. Reads a SecurityToken.
public methodGetSignInResponseMessageReads a SignInResponseMessage from the given HttpRequest.
public methodGetType  (Inherited from Object)
public methodGetXmlTokenFromMessageOverloaded.  
public methodInit  Initializes the module. (Inherited from HttpModuleBase)
public methodIsSignInResponseReturns true if request is recognized as a SignIn response.
public methodRedirectToIdentityProviderRedirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol.
public methodSetPrincipalAndWriteSessionTokenSet the thread principal and write the cookie.
public methodSignOutSign out and raise appropriate events.
public methodToString  (Inherited from Object)
public methodVerifyPropertiesVerifies that the Issuer and realm are non-empty and that, if HTTPS is required, the issuer and reply are HTTPS.

 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodGetReferencedResultGet the wresult string from a referenced URL.
protected methodGetReturnUrlFromResponseExtract the originally requested page (ReturnUrl) from the response.
protected methodGetSessionTokenContextContext to be persisted with the cookie. When using WS-Federation Passive protocol, we concatenate a type name to the signout url so we can initiate the signout protocol.
protected methodGetSignOutRedirectUrlDetermines the url to redirect to when processing a federated sign-out request containing a wreply parameter.
protected methodInitializeModuleOverridden. Initializes a module and prepares it to handle requests.
protected methodInitializePropertiesFromConfigurationInitialize module properties based on definitions in the configuration file.
protected methodMemberwiseClone  (Inherited from Object)
protected methodOnAuthenticateRequestHandle the HTTP pipeline AuthenticateRequest event, after ensuring that the module has been initialized.
protected methodOnAuthorizationFailedRaise the AuthorizationFailed event.
protected methodOnEndRequestHandle the HTTP pipeline EndRequest event.
protected methodOnPostAuthenticateRequestEvent handler for Application.PostAuthenticateRequest
protected methodOnRedirectingToIdentityProviderRaise the RedirectingToIdentityProvider event.
protected methodOnSessionSecurityTokenCreatedRaise the SessionSecurityTokenCreated event.
protected methodOnSignedInRaise the SignedIn event.
protected methodOnSignedOutRaise the SignedOut event.
protected methodOnSignInErrorRaise the SignInError event.
protected methodOnSigningOutRaise the SigningOut event.
protected methodOnSignOutErrorRaise the SignOutError event.



Copyright © 2008 by Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft