Share via


SamlSecurityTokenAuthenticator.AllowedAudienceUris 屬性

定義

取得目標 URI 的集合,SamlSecurityToken 安全性權杖會以其為目標,這樣該 SamlSecurityTokenAuthenticator 執行個體才會將其視為有效。

public:
 property System::Collections::Generic::IList<System::String ^> ^ AllowedAudienceUris { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> AllowedAudienceUris { get; }
member this.AllowedAudienceUris : System.Collections.Generic.IList<string>
Public ReadOnly Property AllowedAudienceUris As IList(Of String)

屬性值

型別 IList<T>String,其中包含 SamlSecurityToken 安全性權杖會以其為目標的目標 URI,這樣該安全性權杖驗證器才會將其視為有效。

備註

您可以在使用會發行 AllowedAudienceUris 安全性權杖之安全性權杖服務 (STS) 的聯合應用程式中使用 SamlSecurityToken 屬性。 當 STS 發出安全性權杖時,它可以將 SamlAudienceRestrictionCondition 加入至安全性權杖中,以便指定此安全性權杖適用之 Web 服務的 URI。 如此便可讓接收端 Web 服務的 SamlSecurityTokenAuthenticator 驗證發出的安全性權杖是否適用於此 Web 服務,而驗證的方法則是指定這項檢查應該透過執行下列動作來進行:

適用於