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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.