Microsoft.AspNetCore.Authentication.WsFederation 命名空间      
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含支持基于 WSFederation 的身份验证的类型。
类
| AuthenticationFailedContext | 中用于 的 AuthenticationFailed(AuthenticationFailedContext)上下文对象。 | 
| MessageReceivedContext | 用于 的 MessageReceived(MessageReceivedContext)上下文对象。 | 
| RedirectContext | 当用户将 配置为 WsFederationHandler 在重定向到 IdentityProvider 之前收到通知时,的 RedirectContext 实例将传递给“RedirectToAuthenticationEndpoint”或“RedirectToEndSessionEndpoint”事件。 | 
| RemoteSignOutContext | RemoteSignOut 的事件上下文。 | 
| SecurityTokenReceivedContext | 此上下文可用于在令牌终结点上兑换令牌的“AuthorizationCode”时通知。 | 
| SecurityTokenValidatedContext | 用于 的 SecurityTokenValidated(SecurityTokenValidatedContext)上下文对象。 | 
| WsFederationDefaults | 与 WsFederation 身份验证处理程序相关的默认值 | 
| WsFederationEvents | 指定 WsFederationHandler 调用的事件,使开发人员能够控制身份验证过程。 /> | 
| WsFederationHandler | WsFederation 的每个请求身份验证处理程序。 | 
| WsFederationOptions | 的配置选项WsFederationHandler | 
| WsFederationPostConfigureOptions | 用于设置所有 WsFederationOptions的默认值。 | 
注解
有关使用基于 WSFederation 的身份验证的详细信息,请参阅在 ASP.NET Core 中使用 WS-Federation 对用户进行身份验证。