本文整理匯總了C#中System.IdentityModel.Services.FederatedPassiveSecurityTokenServiceOperations類的典型用法代碼示例。如果您正苦於以下問題:C# FederatedPassiveSecurityTokenServiceOperations類的具體用法?C# FederatedPassiveSecurityTokenServiceOperations怎麽用?C# FederatedPassiveSecurityTokenServiceOperations使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
FederatedPassiveSecurityTokenServiceOperations類屬於System.IdentityModel.Services命名空間,在下文中一共展示了FederatedPassiveSecurityTokenServiceOperations類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: Page_PreRender
//引入命名空間
using System;
using System.IdentityModel.Services;
using System.Security.Claims;
namespace PassiveSTS
{
public partial class _Default : System.Web.UI.Page
{
/// <summary>
/// We perform the WS-Federation Passive Protocol processing in this method.
/// </summary>
protected void Page_PreRender( object sender, EventArgs e )
{
FederatedPassiveSecurityTokenServiceOperations.ProcessRequest( Request, User as ClaimsPrincipal, CustomSecurityTokenServiceConfiguration.Current.CreateSecurityTokenService(), Response );
}
}
}
開發者ID:.NET開發者,項目名稱:System.IdentityModel.Services,代碼行數:18,代碼來源:FederatedPassiveSecurityTokenServiceOperations