Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As SamlSecurityTokenRequirement
Dim allowedAudienceUris As IList(Of Uri)
Dim tokenAudiences As IList(Of Uri)

instance.ValidateAudienceRestriction(allowedAudienceUris, tokenAudiences)

Syntax

Visual Basic
Public Overridable Sub ValidateAudienceRestriction ( _
		allowedAudienceUris As IList(Of Uri), _
		tokenAudiences As IList(Of Uri) _
)
C#
public virtual void ValidateAudienceRestriction (
		IList<Uri> allowedAudienceUris,
		IList<Uri> tokenAudiences
)
C++
public:
virtual void ValidateAudienceRestriction (
		IList<Uri^>^ allowedAudienceUris, 
		IList<Uri^>^ tokenAudiences
)
J#
public void ValidateAudienceRestriction (
		IList<Uri> allowedAudienceUris, 
		IList<Uri> tokenAudiences
)
JScript
public function ValidateAudienceRestriction (
		allowedAudienceUris : IList<Uri>, 
		tokenAudiences : IList<Uri>
)

Parameters

allowedAudienceUris
tokenAudiences

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also