Share via


WSFederationAuthenticationModule.AuthenticationType 屬性

定義

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

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

屬性值

指定驗證類型的 URI。

備註

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

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

適用於