WSFederationAuthenticationModule 成员

The WSFederationAuthenticationModule is an HTTP module that lets ASP.NET developers build claims aware applications. The WSFederationAuthenticationModule raises several events, which allows ASP.NET developers to customize its functionality in their applications. The WSFederationAuthenticationModule functionality is divided into granular methods to make it easier for ASP.NET developers to reuse and extend its functionality in their applications.

下表列出了 WSFederationAuthenticationModule 类型公开的成员。

Public 构造函数

  名称 说明
  WSFederationAuthenticationModule Initializes a new instance of the WSFederationAuthenticationModule class.

页首

Public 属性

  名称 说明
public property AuthenticationType Federation passive "wauth" property.
public property Freshness This is an optional property applicable when FederationAuthenticationModule. PassiveRedirectEnabled is set to true. Use this property to get or set and optional parameter that identifies the desired maximum age of authentication specified in minutes.
public property HomeRealm  
public property Issuer This is a required property if PassiveRedirectEnabled is set to true. It specifies the URL of the STS where the caller is redirected to for authentication.
public property PassiveRedirectEnabled Specifies whether the module is enabled to initiate WS-Federation passive protocol redirects. This mode of operation of the module enables its use in scenarios that do not employ the Federated Passive SignIn ASP.NET control.
public property PersistentCookiesOnPassiveRedirects  
public property Policy Federation passive "wp" property.
public property Realm This is a required property if PassiveRedirectEnabled is set to true. Get or set a required property that is a URI identifying the relying party to the STS. (For identifying the STS to the RP, see Issuer).
public property Reply This is an optional property if PassiveRedirectEnabled is set to true. Get or set this optional parameter to a URL identifying the relying party to the STS.
public property Request This is an optional property applicable when PassiveRedirectEnabled is set to true. Get or set this optional parameter to send the request as a WS-Trust Request Security Token <RST> element.
public property RequestPtr This is an optional property applicable when PassiveRedirectEnabled is set to true. Get or set an optional parameter that contains a pointer to the request as a Request Security Token <RST> element.
public property RequireHttps  
public property Resource This is an optional property applicable when PassiveRedirectEnabled is set to true. Get or set this optional parameter to a URI that identifies the resource being accessed (relying party) to the STS.
public property ServiceConfiguration  (从 HttpModuleBase 继承)
public property SignInContext RP or STS defined context parameter.
public property SignInQueryString Query string of request, which may contain other message parameters.
public property SignOutQueryString  
public property SignOutReply  
public property XmlDictionaryReaderQuotas  

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method CanReadSignInResponse 已重载。 Determines if request is a WS-Federation Passive Protocol SignIn Response message from the STS.
public method CreateSignInRequest Creates a WS-Federation Passive Protocol SignIn Request, using the WS-Federation parameters configured on the module.
public method Dispose  (从 HttpModuleBase 继承)
public method Equals  已重载。 (从 Object 继承)
public methodstatic FederatedSignOut  
public methodstatic GetFederationPassiveSignOutUrl  
public method GetHashCode  (从 Object 继承)
public method GetSecurityToken 已重载。  
public method GetSignInResponseMessage Reads a SignInResponseMessage from the given HttpRequest.
public method GetType  (从 Object 继承)
public method GetXmlTokenFromMessage 已重载。  
public method Init  Initializes a module and prepares it to handle requests. (从 HttpModuleBase 继承)
public method IsSignInResponse  
public method RedirectToIdentityProvider Redirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol.
public methodstatic ReferenceEquals  (从 Object 继承)
public method SetPrincipalAndWriteSessionToken  
public method SignOut  
public method ToString  (从 Object 继承)
public method VerifyProperties  

页首

Protected 方法

  名称 说明
protected method Finalize  (从 Object 继承)
protected method GetReferencedResult  
protected method GetReturnUrlFromResponse Extract the originally requested page (ReturnUrl) from the response.
protected method GetSessionTokenContext  
protected method GetSignOutRedirectUrl  
protected method InitializeModule 重写。  
protected method InitializePropertiesFromConfiguration  
protected method MemberwiseClone  (从 Object 继承)
protected method OnAuthenticateRequest  
protected method OnAuthorizationFailed  
protected method OnEndRequest Handle the HTTP pipeline EndRequest event.
protected method OnPostAuthenticateRequest  
protected method OnRedirectingToIdentityProvider  
protected method OnSessionSecurityTokenCreated  
protected method OnSignedIn  
protected method OnSignedOut  
protected method OnSignInError  
protected method OnSigningOut  
protected method OnSignOutError  

页首

Public 事件

  名称 说明
public event AuthorizationFailed  
public event RedirectingToIdentityProvider  
public event SecurityTokenReceived  
public event SecurityTokenValidated  
public event SessionSecurityTokenCreated  
public event SignedIn  
public event SignedOut  
public event SignInError  
public event SigningOut  
public event SignOutError  

页首

请参见

参考

WSFederationAuthenticationModule 类
Microsoft.IdentityModel.Web 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。