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 型別公開的成員。
公用 建構函式
名稱 | 描述 | |
---|---|---|
WSFederationAuthenticationModule | Initializes a new instance of the WSFederationAuthenticationModule class. |
最上層
公用 屬性
名稱 | 描述 | |
---|---|---|
AuthenticationType | Federation passive "wauth" 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. | |
HomeRealm | ||
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. | |
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. | |
PersistentCookiesOnPassiveRedirects | ||
Policy | Federation passive "wp" 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). | |
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. | |
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. | |
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. | |
RequireHttps | ||
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. | |
ServiceConfiguration | (繼承自 HttpModuleBase) | |
SignInContext | RP or STS defined context parameter. | |
SignInQueryString | Query string of request, which may contain other message parameters. | |
SignOutQueryString | ||
SignOutReply | ||
XmlDictionaryReaderQuotas |
最上層
公用 方法
(另請參閱 受保護的 方法)
名稱 | 描述 | |
---|---|---|
CanReadSignInResponse | 多載。 Determines if request is a WS-Federation Passive Protocol SignIn Response message from the STS. | |
CreateSignInRequest | Creates a WS-Federation Passive Protocol SignIn Request, using the WS-Federation parameters configured on the module. | |
Dispose | (繼承自 HttpModuleBase) | |
Equals | 多載。 (繼承自 Object) | |
FederatedSignOut | ||
GetFederationPassiveSignOutUrl | ||
GetHashCode | (繼承自 Object) | |
GetSecurityToken | 多載。 | |
GetSignInResponseMessage | Reads a SignInResponseMessage from the given HttpRequest. | |
GetType | (繼承自 Object) | |
GetXmlTokenFromMessage | 多載。 | |
Init | Initializes a module and prepares it to handle requests. (繼承自 HttpModuleBase) | |
IsSignInResponse | ||
RedirectToIdentityProvider | Redirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol. | |
ReferenceEquals | (繼承自 Object) | |
SetPrincipalAndWriteSessionToken | ||
SignOut | ||
ToString | (繼承自 Object) | |
VerifyProperties |
最上層
受保護的 方法
名稱 | 描述 | |
---|---|---|
Finalize | (繼承自 Object) | |
GetReferencedResult | ||
GetReturnUrlFromResponse | Extract the originally requested page (ReturnUrl) from the response. | |
GetSessionTokenContext | ||
GetSignOutRedirectUrl | ||
InitializeModule | 覆寫。 | |
InitializePropertiesFromConfiguration | ||
MemberwiseClone | (繼承自 Object) | |
OnAuthenticateRequest | ||
OnAuthorizationFailed | ||
OnEndRequest | Handle the HTTP pipeline EndRequest event. | |
OnPostAuthenticateRequest | ||
OnRedirectingToIdentityProvider | ||
OnSessionSecurityTokenCreated | ||
OnSignedIn | ||
OnSignedOut | ||
OnSignInError | ||
OnSigningOut | ||
OnSignOutError |
最上層
公用 事件
名稱 | 描述 | |
---|---|---|
AuthorizationFailed | ||
RedirectingToIdentityProvider | ||
SecurityTokenReceived | ||
SecurityTokenValidated | ||
SessionSecurityTokenCreated | ||
SignedIn | ||
SignedOut | ||
SignInError | ||
SigningOut | ||
SignOutError |
最上層
請參閱
參考
WSFederationAuthenticationModule 類別
Microsoft.IdentityModel.Web 命名空間
Copyright © 2008 by Microsoft Corporation.All rights reserved.