SamlSecurityTokenRequirement.ValidateAudienceRestriction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks the specified list of Audience URIs with the AllowedAudienceUri list.
public:
virtual void ValidateAudienceRestriction(System::Collections::Generic::IList<Uri ^> ^ allowedAudienceUris, System::Collections::Generic::IList<Uri ^> ^ tokenAudiences);
public virtual void ValidateAudienceRestriction (System.Collections.Generic.IList<Uri> allowedAudienceUris, System.Collections.Generic.IList<Uri> tokenAudiences);
abstract member ValidateAudienceRestriction : System.Collections.Generic.IList<Uri> * System.Collections.Generic.IList<Uri> -> unit
override this.ValidateAudienceRestriction : System.Collections.Generic.IList<Uri> * System.Collections.Generic.IList<Uri> -> unit
Public Overridable Sub ValidateAudienceRestriction (allowedAudienceUris As IList(Of Uri), tokenAudiences As IList(Of Uri))
Parameters
Exceptions
tokenAudiences
is an empty collection.
-or-
allowedAudienceUris
is an empty collection.
-or-
Validation fails.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.