Share via


WSFederationAuthenticationModule.RequestPtr 屬性

定義

取得或設定要在 WS-同盟登入要求 ("wsignin1.0") 中使用的 wreqptr 參數值。

public:
 property System::String ^ RequestPtr { System::String ^ get(); void set(System::String ^ value); };
public string RequestPtr { get; set; }
member this.RequestPtr : string with get, set
Public Property RequestPtr As String

屬性值

URL,指定以 <wst:RequestSecurityToken> 專案表示的令牌發行要求位置。

例外狀況

嘗試將屬性設為不是有效的絕對 URI 的值。

備註

wreqptr 參數是選擇性的。 RequestPtr如果屬性設定為 null 或空字串,則登入要求中不包含 wreq 參數。

您可以藉由新增 事件的處理程式 RedirectingToIdentityProvider ,在每個 HTTP 要求上覆寫此設定。 此事件會在模組重新導向至具有 WS-Federation 登入要求訊息 (STS) 的安全性令牌服務之前引發。 STS 是由 Issuer 屬性所指定。

適用於