Share via


WSFederationAuthenticationModule.Issuer 屬性

定義

取得或設定 URI,識別想要的安全性權杖簽發者。

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

屬性值

會識別安全性權杖服務 (STS) 的 URI。

例外狀況

嘗試將屬性設為 null 或空字串。

-或-

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

備註

這是必要的屬性。 如果已啟用被動重新導向,則必須加以設定。 它會指定應發出 WS-Federation 要求之 STS (STS) 的安全性令牌服務 URL。

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

適用於