Share via


WSFederationAuthenticationModule.HomeRealm 屬性

定義

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

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

屬性值

識別提供者的位址。

備註

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

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

適用於